Merge pull request #154 from guilherme-pg/implicit-int

Fix variable declaration with no type in the configure script.
This commit is contained in:
Jason Evans 2014-10-20 16:55:33 -07:00
commit 1f725eb7b5

View File

@ -1363,7 +1363,7 @@ if test "x${enable_zone_allocator}" = "x1" ; then
AC_DEFUN([JE_ZONE_PROGRAM], AC_DEFUN([JE_ZONE_PROGRAM],
[AC_LANG_PROGRAM( [AC_LANG_PROGRAM(
[#include <malloc/malloc.h>], [#include <malloc/malloc.h>],
[static foo[[sizeof($1) $2 sizeof(void *) * $3 ? 1 : -1]]] [static int foo[[sizeof($1) $2 sizeof(void *) * $3 ? 1 : -1]]]
)]) )])
AC_COMPILE_IFELSE([JE_ZONE_PROGRAM(malloc_zone_t,==,14)],[JEMALLOC_ZONE_VERSION=3],[ AC_COMPILE_IFELSE([JE_ZONE_PROGRAM(malloc_zone_t,==,14)],[JEMALLOC_ZONE_VERSION=3],[