aboutsummaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
authorkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2008-11-06 22:49:59 +0000
committerkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2008-11-06 22:49:59 +0000
commit47fd4057443805bdfcdf3e697ab9ac4665ecea81 (patch)
tree5cf2f2a0ecb826164b040f356619c9e80222bbe9 /utils
parent378176eb16b9fd6c3b7a5d81681cb373f23d5b5a (diff)
Merged revisions 155121 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk ........ r155121 | kpfleming | 2008-11-06 16:49:19 -0600 (Thu, 06 Nov 2008) | 3 lines 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/branches/1.6.1@155122 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'utils')
-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