Hi Derick,
Who will define HAVE_INT32_T?
I could see ./configure detects it and defines it in main/php_config.h.
But How ext/date/lib/timelib_structs.h know about this?
I could not see ext/date/lib/timelib_structs.h including
main/php_config.h.
#ifndef HAVE_INT32_T
# if SIZEOF_INT == 4
typedef int int32_t;
# elif SIZEOF_LONG == 4
typedef long int int32_t;
# endif
#endif

My NetWare build is breaking because stdio.h which is included after the
above code block also tries to define int32_t which causes a compilation
error.

#include <php_config.h> this at the start of the file(ofcourse after the
guard) solves the problem.

P.S in Zend/zend_strtod.c also we have similar code(checking for
HAVE_INT32_T) there it works because we include
zend_strtod.h->zend.h>zend_config.h->mail/php_config.h), here we don't
have anything of that sort.

Please do the needful.
With regards
Kamesh Jayachandran

-- 
http://www.fastmail.fm - A fast, anti-spam email service.

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to