summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
Diffstat (limited to 'ext')
-rw-r--r--ext/gd/libgd/gdft.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/gd/libgd/gdft.c b/ext/gd/libgd/gdft.c
index eb6832da0b..77ea2fd555 100644
--- a/ext/gd/libgd/gdft.c
+++ b/ext/gd/libgd/gdft.c
@@ -19,7 +19,7 @@
#endif
#ifdef WIN32
-extern int access(const char *pathname, int mode);
+#define access _access
#ifndef R_OK
#define R_OK 2
#endif