Merge pull request #154 from guilherme-pg/implicit-int
Fix variable declaration with no type in the configure script.
This commit is contained in:
commit
1f725eb7b5
@ -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],[
|
||||||
|
Loading…
Reference in New Issue
Block a user