summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuilherme Goncalves <guilherme.p.gonc@gmail.com>2014-10-20 16:08:37 (GMT)
committerGuilherme Goncalves <guilherme.p.gonc@gmail.com>2014-10-20 16:08:37 (GMT)
commit79725aa6f6823bf0703374cb4b89b64133321138 (patch)
tree062c2401fe3c7ac1ddeadd192e05b6eb684c70eb
parent8f47e3d82be11eb5e36cab597fa6579b8c08b3ac (diff)
downloadjemalloc-79725aa6f6823bf0703374cb4b89b64133321138.zip
jemalloc-79725aa6f6823bf0703374cb4b89b64133321138.tar.gz
jemalloc-79725aa6f6823bf0703374cb4b89b64133321138.tar.bz2
Fix variable declaration with no type in the configure script.
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index a7bf103..5c51f27 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1363,7 +1363,7 @@ if test "x${enable_zone_allocator}" = "x1" ; then
AC_DEFUN([JE_ZONE_PROGRAM],
[AC_LANG_PROGRAM(
[#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],[