summaryrefslogtreecommitdiff
path: root/main/streams/glob_wrapper.c
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
commit6ca2ea71094c464be1ae6695564dda6eeca9c250 (patch)
tree62205e04a07623f7905157fde6b153ae1e065a87 /main/streams/glob_wrapper.c
parent20944e2516266b1f070fda7260c01cf1d6303beb (diff)
downloadphp-git-6ca2ea71094c464be1ae6695564dda6eeca9c250.tar.gz
- Fixed bug #49215 (make fails on glob_wrapper)
Diffstat (limited to 'main/streams/glob_wrapper.c')
-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 0ff4f50e29..48c4031a33 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: