summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSascha Schumann <sas@php.net>1999-07-03 18:46:10 +0000
committerSascha Schumann <sas@php.net>1999-07-03 18:46:10 +0000
commitd6169276ddf6c739d24f6208df2220e7c455324a (patch)
tree41ed602000f6bdb2fc2cf8de8c62765270767d5d
parent9fbbc5300881d47d751d850d04cd1f2d8b367126 (diff)
downloadphp-git-d6169276ddf6c739d24f6208df2220e7c455324a.tar.gz
checking for ints won't work, since they are 32 bit on both platforms
-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 42bdab125c..e4765e0e5f 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(int, 4)
+AC_CHECK_SIZEOF(long, 4)
dnl Checks for library functions.
AC_FUNC_VPRINTF
diff --git a/Zend/zend.h b/Zend/zend.h
index a9e05a77e5..c548b21db9 100644
--- a/Zend/zend.h
+++ b/Zend/zend.h
@@ -45,7 +45,7 @@
#include "zend_errors.h"
#include "zend_alloc.h"
-#if SIZEOF_INT == 8
+#if SIZEOF_LONG == 8
typedef unsigned int zend_bool;
#else
typedef unsigned char zend_bool;