]> granicus.if.org Git - php/commitdiff
fix compile warning with Apache2 and Zend VM disabled
authorAntony Dovgal <tony2001@php.net>
Fri, 16 Dec 2005 22:29:34 +0000 (22:29 +0000)
committerAntony Dovgal <tony2001@php.net>
Fri, 16 Dec 2005 22:29:34 +0000 (22:29 +0000)
(someone forgot to do MFH)

Zend/zend_alloc.h

index 6d4b58192fcc76189baa6455accef050e1343e5a..f6bd570c99c59a6213c028d1f9c3e747ef631b7a 100644 (file)
@@ -125,6 +125,7 @@ ZEND_API char *_estrndup(const char *s, unsigned int length ZEND_FILE_LINE_DC ZE
 
 #else
 
+#undef _GNU_SOURCE
 #define _GNU_SOURCE
 #include <string.h>
 #undef _GNU_SOURCE