From 601f6bcba761b14fe34744cacf504ab7968bf727 Mon Sep 17 00:00:00 2001 From: kpfleming Date: Thu, 6 Nov 2008 22:49:19 +0000 Subject: 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 --- utils/extconf.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'utils/extconf.c') 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 #include #include + #define ASINCLUDE_GLOB 1 #ifdef AST_INCLUDE_GLOB -#if defined(__Darwin__) || defined(__CYGWIN__) + +#if !defined(GLOB_ABORTED) #define GLOB_ABORTED GLOB_ABEND #endif + # include #endif -- cgit v1.2.3