aboutsummaryrefslogtreecommitdiffstats
path: root/include/asterisk/compat.h
diff options
context:
space:
mode:
authordbailey <dbailey@f38db490-d61c-443f-a65b-d21fe96a405b>2009-04-21 14:28:04 +0000
committerdbailey <dbailey@f38db490-d61c-443f-a65b-d21fe96a405b>2009-04-21 14:28:04 +0000
commit7c52f6382400efab455ef18e41e68e025d6644d7 (patch)
tree9769d3d121d4fa2d64c6408c531cd3e24ff7c5ba /include/asterisk/compat.h
parent0c2ed9560d16a5a2dfc444504b1bc794de4f68b5 (diff)
Merged revisions 189601 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r189601 | dbailey | 2009-04-21 09:00:55 -0500 (Tue, 21 Apr 2009) | 3 lines Add check in configure script to check for GLOB_NOMAGIC and GLOB_BRACE in glob.h This allows config.c to compile when linked against uclibc that does not support these parameters ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@189629 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include/asterisk/compat.h')
-rw-r--r--include/asterisk/compat.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/asterisk/compat.h b/include/asterisk/compat.h
index 519c71e68..5be445e26 100644
--- a/include/asterisk/compat.h
+++ b/include/asterisk/compat.h
@@ -187,10 +187,10 @@ typedef unsigned long long uint64_t;
#define GLOB_ABORTED GLOB_ABEND
#endif
#include <glob.h>
-#ifdef SOLARIS
+#if !defined(HAVE_GLOB_NOMAGIC) || !defined(HAVE_GLOB_BRACE)
#define MY_GLOB_FLAGS GLOB_NOCHECK
#else
-#define MY_GLOB_FLAGS (GLOB_NOMAGIC|GLOB_BRACE)
+#define MY_GLOB_FLAGS (GLOB_NOMAGIC | GLOB_BRACE)
#endif
#endif