Skip to content

Commit 105c017

Browse files
committed
Fixed warning
1 parent ec3ee30 commit 105c017

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Zend/zend_alloc.c

+4
Original file line numberDiff line numberDiff line change
@@ -111,8 +111,12 @@ static void zend_mm_panic(const char *message) /* {{{ */
111111

112112
#if defined(HAVE_MEM_MMAP_ANON) || defined(HAVE_MEM_MMAP_ZERO)
113113
# ifdef HAVE_MREMAP
114+
# ifndef _GNU_SOURCE
114115
# define _GNU_SOURCE
116+
# endif
117+
# ifndef __USE_GNU
115118
# define __USE_GNU
119+
# endif
116120
# endif
117121
# include <sys/mman.h>
118122
# ifndef MAP_ANON

0 commit comments

Comments
 (0)