diff options
author | Tom Tromey <tromey@redhat.com> | 2003-01-07 16:50:08 +0000 |
---|---|---|
committer | Tom Tromey <tromey@gcc.gnu.org> | 2003-01-07 16:50:08 +0000 |
commit | 6ec628973a0ecba9905d9ad95ca0d8f3c79b7ded (patch) | |
tree | c61210a6ecdb2fa8bd28904a0c652e42832ee2b0 /libjava/include/win32.h | |
parent | 0252d6041dfe6d4c71352cf2fe0a893b093b84e9 (diff) |
posix.h (_Jv_platform_usleep): Wrap in ifdef JV_HASH_SYNCHRONIZATION.
* include/posix.h (_Jv_platform_usleep): Wrap in ifdef
JV_HASH_SYNCHRONIZATION.
* include/win32.h (_Jv_platform_usleep): Wrap in ifdef
JV_HASH_SYNCHRONIZATION.
From-SVN: r60998
Diffstat (limited to 'libjava/include/win32.h')
-rw-r--r-- | libjava/include/win32.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libjava/include/win32.h b/libjava/include/win32.h index 8ba6ef2053c..5de8211a9a9 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 |