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

@@ -66,11 +66,12 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
#include <glob.h>
#if defined(__Darwin__) || defined(__CYGWIN__)
#if !defined(GLOB_ABORTED)
#define GLOB_ABORTED GLOB_ABEND
#endif
# include <glob.h>
#include "asterisk/logger.h"
#include "asterisk/utils.h"
#include "asterisk/lock.h"