hholzgra                Fri Feb 28 02:52:23 2003 EDT

  Modified files:              
    /php4/ext/standard  file.c 
  Log:
  make sure that GNU extensions exist for fnmatch()
  
  
Index: php4/ext/standard/file.c
diff -u php4/ext/standard/file.c:1.319 php4/ext/standard/file.c:1.320
--- php4/ext/standard/file.c:1.319      Thu Feb 27 17:23:39 2003
+++ php4/ext/standard/file.c    Fri Feb 28 02:52:23 2003
@@ -21,7 +21,7 @@
    +----------------------------------------------------------------------+
  */
 
-/* $Id: file.c,v 1.319 2003/02/27 22:23:39 wez Exp $ */
+/* $Id: file.c,v 1.320 2003/02/28 07:52:23 hholzgra Exp $ */
 
 /* Synced with php 3.0 revision 1.218 1999-06-16 [ssb] */
 
@@ -107,6 +107,8 @@
 #endif
 
 #ifdef HAVE_FNMATCH
+#ifndef _GNU_SOURCE
+#define _GNU_SOURCE
 #include <fnmatch.h>
 #endif
 



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

Reply via email to