cvs: php-src /ext/gd/libgd gdft.c
| From: | Wez Furlong | Date: | Fri, 19 Dec 2003 12:41:25 +0000 |
| Subject: | cvs: php-src /ext/gd/libgd gdft.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-25309@lists.php.net to get a copy of this message | ||
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