aboutsummaryrefslogtreecommitdiff
path: root/libjava/include/win32.h
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/include/win32.h')
-rw-r--r--libjava/include/win32.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libjava/include/win32.h b/libjava/include/win32.h
index 8ba6ef2..5de8211 100644
--- a/libjava/include/win32.h
+++ b/libjava/include/win32.h
@@ -48,6 +48,7 @@ _Jv_platform_close_on_exec (jint)
// Ignore.
}
+#ifdef JV_HASH_SYNCHRONIZATION
/* Suspends the execution of the current thread for the specified
number of microseconds. Tries to emulate the behaviour of usleep()
on UNIX and provides a granularity of 1 millisecond. */
@@ -60,6 +61,7 @@ _Jv_platform_usleep (unsigned long usecs)
Sleep (millis);
}
}
+#endif /* JV_HASH_SYNCHRONIZATION */
#ifndef DISABLE_JAVA_NET