summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2013-12-02 02:04:58 -0500
committerRich Felker <dalias@aerifal.cx>2013-12-02 02:04:58 -0500
commitbb181ae3b86d801a4f78d7ae94cf5b80aa6a1d97 (patch)
tree3dfc4bbac6232d5a8adadc94605a969155b3c1af /include
parent9f5053758f6e761c9c09501241b57ec5aeb37329 (diff)
downloadmusl-bb181ae3b86d801a4f78d7ae94cf5b80aa6a1d97.tar.gz
musl-bb181ae3b86d801a4f78d7ae94cf5b80aa6a1d97.tar.bz2
musl-bb181ae3b86d801a4f78d7ae94cf5b80aa6a1d97.tar.xz
musl-bb181ae3b86d801a4f78d7ae94cf5b80aa6a1d97.zip
expose FNM_* extensions in fnmatch.h without _GNU_SOURCE
at least a couple of these are used on BSD too, and the FNM_* namespace is reserved in fnmatch.h anyway.
Diffstat (limited to 'include')
-rw-r--r--include/fnmatch.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/fnmatch.h b/include/fnmatch.h
index 72345b8b..46e5533e 100644
--- a/include/fnmatch.h
+++ b/include/fnmatch.h
@@ -10,12 +10,9 @@ extern "C" {
#define FNM_PATHNAME 0x1
#define FNM_NOESCAPE 0x2
#define FNM_PERIOD 0x4
-
-#ifdef _GNU_SOURCE
#define FNM_LEADING_DIR 0x8
#define FNM_CASEFOLD 0x10
#define FNM_FILE_NAME FNM_PATHNAME
-#endif
#define FNM_NOMATCH 1
#define FNM_NOSYS (-1)