summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSascha Schumann <sas@php.net>1999-07-05 10:51:11 +0000
committerSascha Schumann <sas@php.net>1999-07-05 10:51:11 +0000
commitf6164dbf3a29a744adce732d658236d6a9f7e85b (patch)
tree1d9f78a5cfd680c3f1fa71c909203bf335773e36
parent0e3f5a69f7f1b2c106c604f08b30675828612d9c (diff)
downloadphp-git-f6164dbf3a29a744adce732d658236d6a9f7e85b.tar.gz
use void * instead of long for 64-bit test
-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;