summaryrefslogtreecommitdiff
path: root/ace/config-linux-common.h
diff options
context:
space:
mode:
authorstorri <storri@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2003-01-17 02:15:43 +0000
committerstorri <storri@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2003-01-17 02:15:43 +0000
commit2710cbb18c49fd6c363244bf4da0048c7d801b02 (patch)
treeae8d70b0c174fc49f6ee6b78cdbb8fc8cd48a129 /ace/config-linux-common.h
parentfbf044a3b5ee56f8c888871165ef806651b90767 (diff)
downloadATCD-2710cbb18c49fd6c363244bf4da0048c7d801b02.tar.gz
Adding changes for pthread_setstack
Diffstat (limited to 'ace/config-linux-common.h')
-rw-r--r--ace/config-linux-common.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/ace/config-linux-common.h b/ace/config-linux-common.h
index 8c942cbc86d..a2388a0063c 100644
--- a/ace/config-linux-common.h
+++ b/ace/config-linux-common.h
@@ -324,4 +324,9 @@
// Enables use of POSIX termios struct
#define ACE_USES_NEW_TERMIOS
+// Use new pthread_attr_setstack
+#if defined (__USE_XOPEN2K) && (__GLIBC__ > 2 || ( __GLIBC__ == 2 && __GLIBC_MINOR__ >=2))
+#define ACE_HAS_PTHREAD_SETSTACK
+#endif /* __USE_XOPEN2K && glibc >2.2 */
+
#endif /* ACE_LINUX_COMMON_H */