summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1998-02-25 02:15:59 +0000
committerbde <bde@FreeBSD.org>1998-02-25 02:15:59 +0000
commit18e07ad820bc1e693886ae0d3f16d3f3dd5436ef (patch)
treeccb8a35a42f59b461ae8b0fae548424d9e77c318 /include
parent96dbb7709a934c3b1e1368b18d3668223551045e (diff)
downloadFreeBSD-src-18e07ad820bc1e693886ae0d3f16d3f3dd5436ef.zip
FreeBSD-src-18e07ad820bc1e693886ae0d3f16d3f3dd5436ef.tar.gz
Removed _POSIX_SOURCE ifdefs. This is not a POSIX.1 header.
Diffstat (limited to 'include')
-rw-r--r--include/fnmatch.h2
-rw-r--r--include/glob.h2
2 files changed, 0 insertions, 4 deletions
diff --git a/include/fnmatch.h b/include/fnmatch.h
index 2037f1c..758b660 100644
--- a/include/fnmatch.h
+++ b/include/fnmatch.h
@@ -41,11 +41,9 @@
#define FNM_NOESCAPE 0x01 /* Disable backslash escaping. */
#define FNM_PATHNAME 0x02 /* Slash must be matched by slash. */
#define FNM_PERIOD 0x04 /* Period must be matched by period. */
-#ifndef _POSIX_SOURCE
#define FNM_LEADING_DIR 0x08 /* Ignore /<tail> after Imatch. */
#define FNM_CASEFOLD 0x10 /* Case insensitive search. */
#define FNM_IGNORECASE FNM_CASEFOLD
-#endif
#include <sys/cdefs.h>
diff --git a/include/glob.h b/include/glob.h
index 6f7164a..34da03a 100644
--- a/include/glob.h
+++ b/include/glob.h
@@ -70,14 +70,12 @@ typedef struct {
#define GLOB_NOCHECK 0x0010 /* Return pattern itself if nothing matches. */
#define GLOB_NOSORT 0x0020 /* Don't sort. */
-#ifndef _POSIX_SOURCE
#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. */
#define GLOB_NOMAGIC 0x0200 /* GLOB_NOCHECK without magic chars (csh). */
#define GLOB_QUOTE 0x0400 /* Quote special chars with \. */
#define GLOB_TILDE 0x0800 /* Expand tilde names from the passwd file. */
-#endif
#define GLOB_NOSPACE (-1) /* Malloc call failed. */
#define GLOB_ABEND (-2) /* Unignored error. */
OpenPOWER on IntegriCloud