cvs: php4 /ext/standard file.c
| From: | Hartmut Holzgraefe | Date: | Fri, 28 Feb 2003 07:52:23 +0000 |
| Subject: | cvs: php4 /ext/standard file.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-19269@lists.php.net to get a copy of this message | ||
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