diff options
| author | Ilia Alshanetsky <iliaa@php.net> | 2002-11-03 21:21:13 +0000 |
|---|---|---|
| committer | Ilia Alshanetsky <iliaa@php.net> | 2002-11-03 21:21:13 +0000 |
| commit | 02fcdec6b7caaeff4239f2549b1c3733de4ff3bd (patch) | |
| tree | 4bc45ac71c72f40fc835df538387db53fae5e2f0 | |
| parent | f6ad144abb6bf8afa9fb11367fdfd0e6057877d0 (diff) | |
| download | php-git-02fcdec6b7caaeff4239f2549b1c3733de4ff3bd.tar.gz | |
Fix win32 build.
| -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 */ |
