don't blindly assume that Darwin and Cygwin need GLOB_ABORTED defined; only define...
[asterisk/asterisk.git] / utils / extconf.c
index 78b9113..a2e82a4 100644 (file)
 #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