summaryrefslogtreecommitdiff
path: root/utils/extconf.c
diff options
context:
space:
mode:
authorKevin P. Fleming <kpfleming@digium.com>2008-11-06 22:49:19 +0000
committerKevin P. Fleming <kpfleming@digium.com>2008-11-06 22:49:19 +0000
commitc054d798b842b96b5285a41247b6d25e266426ad (patch)
treec4461a8f1280ffd71e73ccd18f2a021dc7b4f544 /utils/extconf.c
parent9153827d56eb1677c517f202fd3afd0362442f96 (diff)
don't blindly assume that Darwin and Cygwin need GLOB_ABORTED defined; only define it if it is not already defined
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@155121 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'utils/extconf.c')
-rw-r--r--utils/extconf.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/utils/extconf.c b/utils/extconf.c
index 78b911339..a2e82a440 100644
--- a/utils/extconf.c
+++ b/utils/extconf.c
@@ -49,11 +49,14 @@
#include <pthread.h>
#include <netdb.h>
#include <sys/param.h>
+
#define ASINCLUDE_GLOB 1
#ifdef AST_INCLUDE_GLOB
-#if defined(__Darwin__) || defined(__CYGWIN__)
+
+#if !defined(GLOB_ABORTED)
#define GLOB_ABORTED GLOB_ABEND
#endif
+
# include <glob.h>
#endif