]> granicus.if.org Git - php/commitdiff
Fix win32 build.
authorIlia Alshanetsky <iliaa@php.net>
Sun, 3 Nov 2002 21:21:13 +0000 (21:21 +0000)
committerIlia Alshanetsky <iliaa@php.net>
Sun, 3 Nov 2002 21:21:13 +0000 (21:21 +0000)
ext/gd/libgd/gdft.c

index 8345c78894d1f0ec8cad24f97e08bb18aa8dbb2d..0a1e145a75591b4dd986cd5705b8a37f0e73b73f 100644 (file)
 #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 */