summaryrefslogtreecommitdiff
path: root/ace/config-irix6.x-sgic++.h
diff options
context:
space:
mode:
authorjha <jha@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2001-06-30 19:32:33 +0000
committerjha <jha@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2001-06-30 19:32:33 +0000
commit231969a6f64176f994c43542f8f721a70cf56a95 (patch)
tree57d830ed0f4be86f6c46ccf2bec877bf5dd63a07 /ace/config-irix6.x-sgic++.h
parent5ce9ef47a2741413caa701324ba7beaa65b83162 (diff)
downloadATCD-231969a6f64176f994c43542f8f721a70cf56a95.tar.gz
Committing changes made after the merge from the mainline.
Diffstat (limited to 'ace/config-irix6.x-sgic++.h')
-rw-r--r--ace/config-irix6.x-sgic++.h21
1 files changed, 13 insertions, 8 deletions
diff --git a/ace/config-irix6.x-sgic++.h b/ace/config-irix6.x-sgic++.h
index 4a80f49f6ba..06001f1ca2f 100644
--- a/ace/config-irix6.x-sgic++.h
+++ b/ace/config-irix6.x-sgic++.h
@@ -11,10 +11,21 @@
// Include basic (non-threaded) configuration
#include "ace/config-irix6.x-sgic++-nothreads.h"
+#define ACE_HAS_UALARM
+
+// Scheduling functions are declared in <sched.h>
+#define ACE_NEEDS_SCHED_H
+
+// Compile using multi-thread libraries by default
+#if !defined (ACE_MT_SAFE)
+ #define ACE_MT_SAFE 1
+#endif /* ACE_MT_SAFE */
+
+#if (ACE_MT_SAFE != 0)
+
// Add threading support
#define ACE_HAS_IRIX62_THREADS
-#define ACE_HAS_UALARM
// Needed for the threading stuff?
#include /**/ <task.h>
@@ -39,16 +50,10 @@
// The pthread_cond_timedwait call does not reset the timer.
#define ACE_LACKS_COND_TIMEDWAIT_RESET 1
-// Scheduling functions are declared in <sched.h>
-#define ACE_NEEDS_SCHED_H
-
// When threads are enabled READDIR_R is supported on IRIX.
#undef ACE_LACKS_READDIR_R
-// Compile using multi-thread libraries
-#if !defined (ACE_MT_SAFE)
- #define ACE_MT_SAFE 1
-#endif /* ACE_MT_SAFE */
+#endif /* (ACE_MT_SAFE == 0) */
#include "ace/post.h"
#endif /* ACE_CONFIG_IRIX6X_H */