>Or it could be possibly fixed by including <stdint.h>, like >"win32/php_stdin.h" is included on Windows thrus no compilation error >here. Let me know if the following patch fixes your problem: > >Index: php_spl.h >=================================================================== >RCS file: /repository/php-src/ext/spl/php_spl.h,v >retrieving revision 1.31 >diff -u -r1.31 php_spl.h >--- php_spl.h 10 Mar 2009 23:39:38 -0000 1.31 >+++ php_spl.h 23 Jun 2009 16:43:13 -0000 >@@ -21,7 +21,9 @@ > > #include "php.h" > #if defined(PHP_WIN32) >-#include "win32/php_stdint.h" >+# include "win32/php_stdint.h" >+#else >+# include <stdint.h> > #endif > #include <stdarg.h>
yep, it fixed the problem. Also I'd check for HAVE_STDINT_H like below: #if defined(PHP_WIN32) #include "win32/php_stdint.h" +#else +#ifdef HAVE_STDINT_H +#include <stdint.h> +#endif #endif #include <stdarg.h> -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php