diff options
Diffstat (limited to 'winsup/cygwin/include/glob.h')
-rw-r--r-- | winsup/cygwin/include/glob.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/winsup/cygwin/include/glob.h b/winsup/cygwin/include/glob.h index 5f1b42050..0376cc3fe 100644 --- a/winsup/cygwin/include/glob.h +++ b/winsup/cygwin/include/glob.h @@ -80,7 +80,7 @@ typedef struct { #define GLOB_NOMATCH (-3) /* No match and GLOB_NOCHECK was not set. */ #define GLOB_NOSYS (-4) /* Obsolete: source comptability only. */ -#ifndef _POSIX_SOURCE +#if __GNU_VISIBLE #define GLOB_ALTDIRFUNC 0x0040 /* Use alternately specified directory funcs. */ #define GLOB_BRACE 0x0080 /* Expand braces ala csh. */ #define GLOB_MAGCHAR 0x0100 /* Pattern had globbing characters. */ @@ -92,7 +92,7 @@ typedef struct { /* source compatibility, these are the old names */ #define GLOB_MAXPATH GLOB_LIMIT #define GLOB_ABEND GLOB_ABORTED -#endif /* __BSD_VISIBLE */ +#endif /* __GNU_VISIBLE */ __BEGIN_DECLS |