the php 5 cvs code is not compiling on OS X 10.2 as-is now because of some changes to snprintf.c and spprintf.c. i am attaching two patch files that make the compiler error go away - it just does an include of stdint.h in the files. probably this would be better fixed as a config setting somewhere, but i wouldn't know. i hope this will be of some use in creating a real fix.
Index: main/spprintf.c =================================================================== RCS file: /repository/php-src/main/spprintf.c,v retrieving revision 1.20 diff -u -r1.20 spprintf.c --- main/spprintf.c 29 Sep 2003 01:07:55 -0000 1.20 +++ main/spprintf.c 14 Oct 2003 01:00:51 -0000 @@ -87,6 +87,9 @@ #include <string.h> #include <stdlib.h> #include <math.h> +#ifdef HAVE_STDINT_H +#include <stdint.h> +#endif #include "snprintf.h"
Index: main/snprintf.c =================================================================== RCS file: /repository/php-src/main/snprintf.c,v retrieving revision 1.31 diff -u -r1.31 snprintf.c --- main/snprintf.c 29 Sep 2003 23:44:07 -0000 1.31 +++ main/snprintf.c 14 Oct 2003 01:00:36 -0000 @@ -83,6 +83,9 @@ #include <string.h> #include <stdlib.h> #include <math.h> +#ifdef HAVE_STDINT_H +#include <stdint.h> +#endif #define FALSE 0 #define TRUE 1
-- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php
