diff options
author | schmidt <douglascraigschmidt@users.noreply.github.com> | 1998-01-04 18:14:58 +0000 |
---|---|---|
committer | schmidt <douglascraigschmidt@users.noreply.github.com> | 1998-01-04 18:14:58 +0000 |
commit | c2a33b0fa341c778ac1a768149c04e2d91d4aad4 (patch) | |
tree | 6e42e33b5024548034b10871b9a5065ad8a1d492 /ace/OS.cpp | |
parent | e8734d46d6b0fd553193f23ef19066f422fe6227 (diff) | |
download | ATCD-c2a33b0fa341c778ac1a768149c04e2d91d4aad4.tar.gz |
*** empty log message ***
Diffstat (limited to 'ace/OS.cpp')
-rw-r--r-- | ace/OS.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ace/OS.cpp b/ace/OS.cpp index 1daf361ba60..80808e8027f 100644 --- a/ace/OS.cpp +++ b/ace/OS.cpp @@ -3148,7 +3148,7 @@ ACE_OS::mktime (struct tm *t) #endif /* ACE_HAS_MT_SAFE_MKTIME */ } -#if !defined (ACE_HAS_THREADS) || !defined (ACE_HAS_STHREADS) +#if !defined (ACE_HAS_THREADS) || !defined (ACE_HAS_STHREADS) || defined (ACE_LACKS_RWLOCK_T) // The ACE_HAS_THREADS and ACE_HAS_STHREADS case is in OS.i int ACE_OS::rwlock_init (ACE_rwlock_t *rw, @@ -3160,7 +3160,7 @@ ACE_OS::rwlock_init (ACE_rwlock_t *rw, type = type; name = name; #if defined (ACE_HAS_THREADS) -#if !defined (ACE_HAS_STHREADS) +#if !defined (ACE_HAS_STHREADS) || defined (ACE_LACKS_RWLOCK_T) /* NT, POSIX, and VxWorks don't support this natively. */ ACE_UNUSED_ARG (name); int result = -1; @@ -3208,7 +3208,7 @@ ACE_OS::rwlock_init (ACE_rwlock_t *rw, ACE_NOTSUP_RETURN (-1); #endif /* ACE_HAS_THREADS */ } -#endif /* ! ACE_HAS_THREADS || ! ACE_HAS_STHREADS */ +#endif /* ! ACE_HAS_THREADS || ! ACE_HAS_STHREADS || defined (ACE_LACKS_RWLOCK_T) */ #if defined (ACE_PSOS) |