summaryrefslogtreecommitdiff
path: root/ace/config-sunos5.6.h
diff options
context:
space:
mode:
authorlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-10-29 19:30:32 +0000
committerlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-10-29 19:30:32 +0000
commit003d60629fab120b91a3a816b55c95de51d301a4 (patch)
treeed24f4d805fab5429e7f433986fcfad4bd49ddd3 /ace/config-sunos5.6.h
parent05f36eb6da833355952fd1088d2d1dee02dc3c56 (diff)
downloadATCD-003d60629fab120b91a3a816b55c95de51d301a4.tar.gz
Only #define ACE_HAS_POSIX_SEM if _POSIX_PTHREAD_SEMANTICS is
#defined. Also, removed ACE_HAS_PTHREADS_STD because it's #defined in config-sunos5.5.h.
Diffstat (limited to 'ace/config-sunos5.6.h')
-rw-r--r--ace/config-sunos5.6.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/ace/config-sunos5.6.h b/ace/config-sunos5.6.h
index 74298880ebc..13168723562 100644
--- a/ace/config-sunos5.6.h
+++ b/ace/config-sunos5.6.h
@@ -14,14 +14,15 @@
#if (defined(_POSIX_C_SOURCE) && _POSIX_C_SOURCE >= 199506L) || \
defined (__EXTENSIONS__)
-# define ACE_HAS_PTHREADS_STD
# define ACE_HAS_2_PARAM_ASCTIME_R_AND_CTIME_R
// Hack 'cuz -DPOSIX_SOURCE=199506L and -DEXTENSIONS hides this.
# include <sys/types.h>
extern "C" int madvise(caddr_t, size_t, int);
#endif /* _POSIX_C_SOURCE >= 199506L || __EXTENSIONS__ */
-#define ACE_HAS_POSIX_SEM
+#if defined (_POSIX_PTHREAD_SEMANTICS)
+# define ACE_HAS_POSIX_SEM
+#endif /* _POSIX_PTHREAD_SEMANTICS */
// SunOS 5.6 has AIO calls.
#define ACE_HAS_AIO_CALLS