diff options
author | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-11-06 22:49:19 +0000 |
---|---|---|
committer | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-11-06 22:49:19 +0000 |
commit | 601f6bcba761b14fe34744cacf504ab7968bf727 (patch) | |
tree | c4461a8f1280ffd71e73ccd18f2a021dc7b4f544 /utils | |
parent | 809f1e546609780ef37dbfdf6325ad88e4b27433 (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: http://svn.digium.com/svn/asterisk/trunk@155121 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'utils')
-rw-r--r-- | utils/extconf.c | 5 |
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 |