summaryrefslogtreecommitdiff
path: root/ace/config-lynxos.h
diff options
context:
space:
mode:
authorlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2000-06-15 18:31:41 +0000
committerlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2000-06-15 18:31:41 +0000
commit36007346b703de91752c0526c630f42f093d8e4a (patch)
treeb6e648e26f709bbbc5b128dda155486b0ab7268b /ace/config-lynxos.h
parent27c37a22bcfe067845dc074ea6b6f6a439e0d4d7 (diff)
downloadATCD-36007346b703de91752c0526c630f42f093d8e4a.tar.gz
ChangeLogTag: Thu Jun 15 13:15:06 2000 David L. Levine <levine@cs.wustl.edu>
Diffstat (limited to 'ace/config-lynxos.h')
-rw-r--r--ace/config-lynxos.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/ace/config-lynxos.h b/ace/config-lynxos.h
index 76e7fb46596..eb4886b8c7a 100644
--- a/ace/config-lynxos.h
+++ b/ace/config-lynxos.h
@@ -122,9 +122,13 @@
#if ACE_MT_SAFE == 1
// Platform supports threads.
# define ACE_HAS_PTHREADS
-# if __LYNXOS_SDK_VERSION >= 199901L
- /* LynxOS >= 3.1.0 */
+# if __GNUG__ > 2 || __GNUC_MINOR__ >= 9
+ // g++ >= 2.9, assume LynxOS 3.1.0 or greater
# define ACE_HAS_PTHREADS_STD
+ // Though there's a pthread_sigmask man page, there isn't a
+ // declaration in a system header file.
+# include <signal.h>
+ int pthread_sigmask (int, const sigset_t *, sigset_t *);
# else /* LynxOS < 3.1.0 */
# define ACE_HAS_PTHREADS_DRAFT4
# define ACE_HAS_STDARG_THR_DEST