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
This commit is contained in:
Kevin P. Fleming
2008-11-06 22:49:19 +00:00
parent 9153827d56
commit c054d798b8
3 changed files with 91 additions and 86 deletions

View File

@@ -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