summaryrefslogtreecommitdiff
path: root/ACE/ace/config-linux.h
diff options
context:
space:
mode:
authorFred Hornsey <fred@hornsey.us>2019-04-11 23:43:06 -0500
committerFred Hornsey <fred@hornsey.us>2019-04-11 23:43:06 -0500
commite06e966e10b4edb27f9813ddffc34529abd4bb91 (patch)
tree4de96a9c581cd10fe80439df5448f49fe98b645a /ACE/ace/config-linux.h
parent6077b11bb47d50d264f1ed095df2a0c499f74c90 (diff)
downloadATCD-e06e966e10b4edb27f9813ddffc34529abd4bb91.tar.gz
Add ACE_OS::thr_gettid()
Diffstat (limited to 'ACE/ace/config-linux.h')
-rw-r--r--ACE/ace/config-linux.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/ACE/ace/config-linux.h b/ACE/ace/config-linux.h
index e248aea30b3..cb11f84ae63 100644
--- a/ACE/ace/config-linux.h
+++ b/ACE/ace/config-linux.h
@@ -449,6 +449,10 @@
#endif /* __UCLIBC__ */
+#if (LINUX_VERSION_CODE >= KERNEL_VERSION (2,4,11))
+# define ACE_HAS_GETTID // See ACE_OS::thr_gettid()
+#endif
+
#include /**/ "ace/post.h"
#endif /* ACE_CONFIG_LINUX_H */