Browse Source

use void * instead of long for 64-bit test

experimental/newoperator
Sascha Schumann 27 years ago
parent
commit
f6164dbf3a
  1. 2
      Zend/configure.in
  2. 2
      Zend/zend.h

2
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

2
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;

Loading…
Cancel
Save