diff options
| -rw-r--r-- | ext/gd/libgd/gdft.c | 4 |
1 files changed, 4 insertions, 0 deletions
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 <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 */ |
