cvs: ZendEngine2(PHP_5_3) / zend_alloc.c
| From: | Dmitry Stogov | Date: | Fri, 20 Mar 2009 11:23:00 +0000 |
| Subject: | cvs: ZendEngine2(PHP_5_3) / zend_alloc.c | ||
| Groups: | php.zend-engine.cvs | ||
| Request: | Send a blank email to php-zend-engine-cvs+get-7492@lists.php.net to get a copy of this message | ||
dmitry Fri Mar 20 11:23:00 2009 UTC
Modified files: (Branch: PHP_5_3)
/ZendEngine2 zend_alloc.c
Log:
Fixed warning
http://cvs.php.net/viewvc.cgi/ZendEngine2/zend_alloc.c?r1=1.144.2.3.2.43.2.21&r2=1.144.2.3.2.43.2.22&diff_format=u
Index: ZendEngine2/zend_alloc.c
diff -u ZendEngine2/zend_alloc.c:1.144.2.3.2.43.2.21 ZendEngine2/zend_alloc.c:1.144.2.3.2.43.2.22
--- ZendEngine2/zend_alloc.c:1.144.2.3.2.43.2.21 Sun Jan 25 14:03:09 2009
+++ ZendEngine2/zend_alloc.c Fri Mar 20 11:23:00 2009
@@ -18,7 +18,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: zend_alloc.c,v 1.144.2.3.2.43.2.21 2009/01/25 14:03:09 dsp Exp $ */
+/* $Id: zend_alloc.c,v 1.144.2.3.2.43.2.22 2009/03/20 11:23:00 dmitry Exp $ */
#include "zend.h"
#include "zend_alloc.h"
@@ -109,8 +109,12 @@
#if defined(HAVE_MEM_MMAP_ANON) || defined(HAVE_MEM_MMAP_ZERO)
# ifdef HAVE_MREMAP
+# ifndef _GNU_SOURCE
# define _GNU_SOURCE
+# endif
+# ifndef __USE_GNU
# define __USE_GNU
+# endif
# endif
# include <sys/mman.h>
# ifndef MAP_ANON