summaryrefslogtreecommitdiff
path: root/ACE/ace/config-linux-common.h
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/ace/config-linux-common.h')
-rw-r--r--ACE/ace/config-linux-common.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/ACE/ace/config-linux-common.h b/ACE/ace/config-linux-common.h
index 6f0a560002e..06b9e3587f7 100644
--- a/ACE/ace/config-linux-common.h
+++ b/ACE/ace/config-linux-common.h
@@ -45,6 +45,10 @@
# define ACE_HAS_GLIBC_2_2_3
#endif /* __GLIBC__ > 2 || __GLIBC__ === 2 && __GLIBC_MINOR__ >= 3) */
+#if (__GLIBC__ > 2) || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 30)
+# define ACE_LACKS_SYS_SYSCTL_H
+#endif /* __GLIBC__ > 2 || __GLIBC__ === 2 && __GLIBC_MINOR__ >= 30) */
+
#if defined (__INTEL_COMPILER)
# include "ace/config-icc-common.h"
#elif defined (__GNUG__)
@@ -252,8 +256,4 @@
# define ACE_HAS_GETTID // See ACE_OS::thr_gettid()
#endif
-#if (LINUX_VERSION_CODE >= KERNEL_VERSION (5,5,0))
-# define ACE_LACKS_SYS_SYSCTL_H
-#endif
-
#endif /* ACE_CONFIG_LINUX_COMMON_H */