diff options
Diffstat (limited to 'libjava/include/posix.h')
-rw-r--r-- | libjava/include/posix.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libjava/include/posix.h b/libjava/include/posix.h index 859db6e..0e1220a 100644 --- a/libjava/include/posix.h +++ b/libjava/include/posix.h @@ -1,6 +1,6 @@ // posix.h -- Helper functions for POSIX-flavored OSs. -/* Copyright (C) 2000, 2002 Free Software Foundation +/* Copyright (C) 2000, 2002, 2003 Free Software Foundation This file is part of libgcj. @@ -60,11 +60,13 @@ _Jv_platform_close_on_exec (jint fd) ::fcntl (fd, F_SETFD, FD_CLOEXEC); } +#ifdef JV_HASH_SYNCHRONIZATION inline void _Jv_platform_usleep (unsigned long usecs) { usleep (usecs); } +#endif /* JV_HASH_SYNCHRONIZATION */ #ifndef DISABLE_JAVA_NET |