cvs: php4 /ext/gd/libgd gdft.c
| From: | Ilia Alshanetsky | Date: | Sun, 03 Nov 2002 21:21:13 +0000 |
| Subject: | cvs: php4 /ext/gd/libgd gdft.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-15765@lists.php.net to get a copy of this message | ||
iliaa Sun Nov 3 16:21:13 2002 EDT
Modified files:
/php4/ext/gd/libgd gdft.c
Log:
Fix win32 build.
Index: php4/ext/gd/libgd/gdft.c
diff -u php4/ext/gd/libgd/gdft.c:1.9 php4/ext/gd/libgd/gdft.c:1.10
--- php4/ext/gd/libgd/gdft.c:1.9 Tue Oct 29 18:08:01 2002
+++ php4/ext/gd/libgd/gdft.c Sun Nov 3 16:21:13 2002
@@ -17,8 +17,12 @@
#else
#include <io.h>
#endif
+
#ifdef WIN32
extern int access(const char *pathname, int mode);
+#ifndef R_OK
+#define R_OK 2
+#endif
#endif
/* number of antialised colors for indexed bitmaps */