]> granicus.if.org Git - php/commitdiff
use void * instead of long for 64-bit test
authorSascha Schumann <sas@php.net>
Mon, 5 Jul 1999 10:51:11 +0000 (10:51 +0000)
committerSascha Schumann <sas@php.net>
Mon, 5 Jul 1999 10:51:11 +0000 (10:51 +0000)
Zend/configure.in
Zend/zend.h

index e4765e0e5fb5f503ae7f13c44d73a8cdd5e5ad8b..539774c44db6df60f85b9ca05b680209f0684d3b 100644 (file)
@@ -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
index c548b21db9e1bc6daa663e4c85f40d9a24daa7e5..5b1f9e90c283d5d4d244664ebcf731f5e79cb13b 100644 (file)
@@ -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;