]> granicus.if.org Git - php/commitdiff
- Fixed bug #49215 (make fails on glob_wrapper)
authorFelipe Pena <felipe@php.net>
Fri, 10 Sep 2010 21:33:50 +0000 (21:33 +0000)
committerFelipe Pena <felipe@php.net>
Fri, 10 Sep 2010 21:33:50 +0000 (21:33 +0000)
main/streams/glob_wrapper.c

index 2a4fc5bd4edfbfb5ca05d9c5f67d5e362c325e80..daf0024a14ea43b934c4f161be8a20ffd758faa2 100755 (executable)
@@ -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: