Browse Source

checking for ints won't work, since they are 32 bit on both platforms

experimental/newoperator
Sascha Schumann 27 years ago
parent
commit
d6169276dd
  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(int, 4)
AC_CHECK_SIZEOF(long, 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_INT == 8
#if SIZEOF_LONG == 8
typedef unsigned int zend_bool;
#else
typedef unsigned char zend_bool;

Loading…
Cancel
Save