workaround for 64-bit platforms

This commit is contained in:
Sascha Schumann 1999-07-02 21:12:03 +00:00
parent 45386d8af4
commit 2a44f45cbe
3 changed files with 7 additions and 4 deletions

View file

@ -11,9 +11,6 @@
/* define ulong by configure if it is missed (most probably is) */
#undef ulong
/* define zend_bool by configure */
#undef zend_bool
/* type check for in_addr_t */
#undef in_addr_t

View file

@ -73,7 +73,8 @@ AC_TYPE_SIZE_T
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_TYPE( zend_bool, unsigned char )
AC_CHECK_SIZEOF(int, 4)
dnl Checks for library functions.
AC_FUNC_VPRINTF

View file

@ -45,6 +45,11 @@
#include "zend_errors.h"
#include "zend_alloc.h"
#if SIZEOF_INT == 8
typedef unsigned int zend_bool;
#else
typedef unsigned char zend_bool;
#endif
#undef SUCCESS
#undef FAILURE