From f27c4403283d600505dff9f3b2c3df0b23780897 Mon Sep 17 00:00:00 2001 From: Bruce Evans Date: Wed, 25 Feb 1998 02:15:59 +0000 Subject: [PATCH] Removed _POSIX_SOURCE ifdefs. This is not a POSIX.1 header. --- include/fnmatch.h | 2 -- include/glob.h | 2 -- 2 files changed, 4 deletions(-) diff --git a/include/fnmatch.h b/include/fnmatch.h index 2037f1c57774..758b66097874 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 / after Imatch. */ #define FNM_CASEFOLD 0x10 /* Case insensitive search. */ #define FNM_IGNORECASE FNM_CASEFOLD -#endif #include diff --git a/include/glob.h b/include/glob.h index 6f7164a33fe6..34da03a0c91b 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. */