summaryrefslogtreecommitdiff
path: root/ACE/ace/config-linux.h
diff options
context:
space:
mode:
authorFred Hornsey <fred@hornsey.us>2019-06-05 23:28:56 -0500
committerFred Hornsey <fred@hornsey.us>2019-06-05 23:28:56 -0500
commit8fda2e288376fe735a316e396763daa40afb1167 (patch)
treef3b42013941bc3520863f378172f1a8a7669da25 /ACE/ace/config-linux.h
parent9b2936e208d7392baf4a0301bafe1a2b74b55274 (diff)
downloadATCD-8fda2e288376fe735a316e396763daa40afb1167.tar.gz
Move A Check Back to config-linux.h
Diffstat (limited to 'ACE/ace/config-linux.h')
-rw-r--r--ACE/ace/config-linux.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/ACE/ace/config-linux.h b/ACE/ace/config-linux.h
index 5808ee15ef5..954d61f091d 100644
--- a/ACE/ace/config-linux.h
+++ b/ACE/ace/config-linux.h
@@ -106,6 +106,12 @@
#define ACE_HAS_UALARM
+#if (__GLIBC__ < 2) || (__GLIBC__ == 2 && __GLIBC_MINOR__ < 10)
+// Although the scandir man page says otherwise, this setting is correct.
+// The setting was fixed in 2.10, so do not use the hack after that.
+# define ACE_SCANDIR_CMP_USES_CONST_VOIDPTR
+#endif
+
// A conflict appears when including both <ucontext.h> and
// <sys/procfs.h> with recent glibc headers.
//#define ACE_HAS_PROC_FS