summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/include/glob.h
diff options
context:
space:
mode:
authorYaakov Selkowitz <yselkowi@redhat.com>2016-03-14 21:24:29 -0500
committerYaakov Selkowitz <yselkowi@redhat.com>2016-03-17 21:09:22 -0500
commit3237fb31b3178f7e42d6c1c0aca9ae622c8be6d1 (patch)
treeaf2c839f068c56e2dbd1f8ca079ce8957b54775e /winsup/cygwin/include/glob.h
parent396942b0b59da602797ab63a502fe315b14fed84 (diff)
downloadcygnal-3237fb31b3178f7e42d6c1c0aca9ae622c8be6d1.tar.gz
cygnal-3237fb31b3178f7e42d6c1c0aca9ae622c8be6d1.tar.bz2
cygnal-3237fb31b3178f7e42d6c1c0aca9ae622c8be6d1.zip
Feature test macros overhaul: Cygwin headers
Use proper internal macros for BSD and GNU. Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
Diffstat (limited to 'winsup/cygwin/include/glob.h')
-rw-r--r--winsup/cygwin/include/glob.h4
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