jan             Thu Sep 26 07:19:27 2002 EDT

  Modified files:              
    /php4/ext/standard  dir.c 
  Log:
   - GLOB_NOMATCH and GLOB_NOESCAPE are only defined in win32/glob.h
   - fixes build on FreeBSD 4.6
  
  
Index: php4/ext/standard/dir.c
diff -u php4/ext/standard/dir.c:1.101 php4/ext/standard/dir.c:1.102
--- php4/ext/standard/dir.c:1.101       Thu Sep 26 03:55:59 2002
+++ php4/ext/standard/dir.c     Thu Sep 26 07:19:26 2002
@@ -16,7 +16,7 @@
    +----------------------------------------------------------------------+
  */
 
-/* $Id: dir.c,v 1.101 2002/09/26 07:55:59 yohgaki Exp $ */
+/* $Id: dir.c,v 1.102 2002/09/26 11:19:26 jan Exp $ */
 
 /* {{{ includes/startup/misc */
 
@@ -133,8 +133,10 @@
 #ifdef HAVE_GLOB
        REGISTER_LONG_CONSTANT("GLOB_MARK", GLOB_MARK, CONST_CS | CONST_PERSISTENT);
        REGISTER_LONG_CONSTANT("GLOB_NOSORT", GLOB_NOSORT, CONST_CS | 
CONST_PERSISTENT);
+#ifdef PHP_WIN32
        REGISTER_LONG_CONSTANT("GLOB_NOMATCH", GLOB_NOMATCH, CONST_CS | 
CONST_PERSISTENT);
        REGISTER_LONG_CONSTANT("GLOB_NOESCAPE", GLOB_NOESCAPE, CONST_CS | 
CONST_PERSISTENT);
+#endif
 #endif
 
        return SUCCESS;



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to