summaryrefslogtreecommitdiff
path: root/ace/config-freebsd-pthread.h
diff options
context:
space:
mode:
authornanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-12-01 19:51:04 +0000
committernanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-12-01 19:51:04 +0000
commit22c5754a0aa17f205d66d7925343ac6c0623876c (patch)
tree44f9a77829254e853cfb6bcf96a98f3ed0dee3fb /ace/config-freebsd-pthread.h
parentaca46f4b264c5bd76ab6c434c544a42f74883c1e (diff)
downloadATCD-22c5754a0aa17f205d66d7925343ac6c0623876c.tar.gz
Disallow compilation on FreeBSD 2.x. Added ACE_HAS_SIGWAIT.
Diffstat (limited to 'ace/config-freebsd-pthread.h')
-rw-r--r--ace/config-freebsd-pthread.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/ace/config-freebsd-pthread.h b/ace/config-freebsd-pthread.h
index 5f3aa909728..ab1303d0e1e 100644
--- a/ace/config-freebsd-pthread.h
+++ b/ace/config-freebsd-pthread.h
@@ -13,6 +13,10 @@
#define __ACE_INLINE__
#endif /* ! __ACE_INLINE__ */
+#if (__FreeBSD__ < 3)
+#error Threads are not supported.
+#endif /* __FreeBSD < 3 */
+
#define ACE_SIZEOF_LONG_DOUBLE 12
#if defined (__GNUG__)
@@ -157,6 +161,6 @@ char * cuserid (char *s);
#define ACE_HAS_THREAD_SPECIFIC_STORAGE
#define ACE_HAS_DIRENT
-// #define ACE_HAS_SIGWAIT
+#define ACE_HAS_SIGWAIT
#endif /* ACE_CONFIG_H */