wez Fri Dec 19 07:41:25 2003 EDT
Modified files:
/php-src/ext/gd/libgd gdft.c
Log:
be slightly nicer when defining R_OK
Index: php-src/ext/gd/libgd/gdft.c
diff -u php-src/ext/gd/libgd/gdft.c:1.28 php-src/ext/gd/libgd/gdft.c:1.29
--- php-src/ext/gd/libgd/gdft.c:1.28 Wed Dec 17 17:47:02 2003
+++ php-src/ext/gd/libgd/gdft.c Fri Dec 19 07:41:24 2003
@@ -16,7 +16,9 @@
#include <unistd.h>
#else
#include <io.h>
-#define R_OK 04 /* Needed in Windows */
+#ifndef R_OK
+# define R_OK 04 /* Needed in Windows */
+#endif
#endif
#ifdef WIN32
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php