summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Zend/configure.in2
-rw-r--r--Zend/zend.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/Zend/configure.in b/Zend/configure.in
index e4765e0e5f..539774c44d 100644
--- a/Zend/configure.in
+++ b/Zend/configure.in
@@ -80,7 +80,7 @@ dnl This is required for QNX and may be some BSD derived systems
AC_CHECK_TYPE( uint, unsigned int )
AC_CHECK_TYPE( ulong, unsigned long )
-AC_CHECK_SIZEOF(long, 4)
+AC_CHECK_SIZEOF(void *, 4)
dnl Checks for library functions.
AC_FUNC_VPRINTF
diff --git a/Zend/zend.h b/Zend/zend.h
index c548b21db9..5b1f9e90c2 100644
--- a/Zend/zend.h
+++ b/Zend/zend.h
@@ -45,7 +45,7 @@
#include "zend_errors.h"
#include "zend_alloc.h"
-#if SIZEOF_LONG == 8
+#if SIZEOF_VOID_P == 8
typedef unsigned int zend_bool;
#else
typedef unsigned char zend_bool;