summaryrefslogtreecommitdiff
path: root/main
diff options
context:
space:
mode:
authorFelipe Pena <felipe@php.net>2010-09-10 21:33:50 +0000
committerFelipe Pena <felipe@php.net>2010-09-10 21:33:50 +0000
commitfeda017cce5f3e9085c6fdd01918097fc6b02e77 (patch)
tree5fcbda44fff7dcb7320f04de3dcb680ac7ab6152 /main
parente62a10c4d03e84776ee0cce19c97c7359c9fe11d (diff)
downloadphp-git-feda017cce5f3e9085c6fdd01918097fc6b02e77.tar.gz
- Fixed bug #49215 (make fails on glob_wrapper)
Diffstat (limited to 'main')
-rwxr-xr-xmain/streams/glob_wrapper.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/main/streams/glob_wrapper.c b/main/streams/glob_wrapper.c
index 2a4fc5bd4e..daf0024a14 100755
--- a/main/streams/glob_wrapper.c
+++ b/main/streams/glob_wrapper.c
@@ -29,6 +29,7 @@
# endif
#endif
+#ifdef HAVE_GLOB
#ifndef GLOB_ONLYDIR
#define GLOB_ONLYDIR (1<<30)
#define GLOB_FLAGMASK (~GLOB_ONLYDIR)
@@ -278,6 +279,7 @@ php_stream_wrapper php_glob_stream_wrapper = {
NULL,
0
};
+#endif /* HAVE_GLOB */
/*
* Local variables: