From: Ilia Alshanetsky Date: Sun, 3 Nov 2002 21:21:13 +0000 (+0000) Subject: Fix win32 build. X-Git-Tag: php-4.3.0RC1~307 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=02fcdec6b7caaeff4239f2549b1c3733de4ff3bd;p=php Fix win32 build. --- diff --git a/ext/gd/libgd/gdft.c b/ext/gd/libgd/gdft.c index 8345c78894..0a1e145a75 100644 --- a/ext/gd/libgd/gdft.c +++ b/ext/gd/libgd/gdft.c @@ -17,8 +17,12 @@ #else #include #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 */