Skip to content

Commit 0280256

Browse files
committed
We don't need to care about being POSIXly correct for internal glob
1 parent 216fede commit 0280256

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

main/php_glob.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,6 @@ typedef struct {
8787
#define PHP_GLOB_NOMATCH (-3) /* No match and PHP_GLOB_NOCHECK not set. */
8888
#define PHP_GLOB_NOSYS (-4) /* Function not supported. */
8989

90-
#ifndef _POSIX_SOURCE
9190
#define PHP_GLOB_ALTDIRFUNC 0x0040 /* Use alternately specified directory funcs. */
9291
#define PHP_GLOB_BRACE 0x0080 /* Expand braces ala csh. */
9392
#define PHP_GLOB_MAGCHAR 0x0100 /* Pattern had globbing characters. */
@@ -96,7 +95,6 @@ typedef struct {
9695
#define PHP_GLOB_TILDE 0x0800 /* Expand tilde names from the passwd file. */
9796
#define PHP_GLOB_LIMIT 0x2000 /* Limit pattern match output to ARG_MAX */
9897
#define PHP_GLOB_KEEPSTAT 0x4000 /* Retain stat data for paths in gl_statv. */
99-
#endif
10098

10199
BEGIN_EXTERN_C()
102100
PHPAPI int php_glob(const char *__restrict, int, int (*)(const char *, int),

0 commit comments

Comments
 (0)