From: Wez Furlong Date: Fri, 19 Dec 2003 12:41:24 +0000 (+0000) Subject: be slightly nicer when defining R_OK X-Git-Tag: php-5.0.0b3RC2~39 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=085ceca8e1cf5f29e6839cac2d868d956be8202f;p=php be slightly nicer when defining R_OK --- diff --git a/ext/gd/libgd/gdft.c b/ext/gd/libgd/gdft.c index fd6e7df5c5..b94a56a3cf 100644 --- a/ext/gd/libgd/gdft.c +++ b/ext/gd/libgd/gdft.c @@ -16,7 +16,9 @@ #include #else #include -#define R_OK 04 /* Needed in Windows */ +#ifndef R_OK +# define R_OK 04 /* Needed in Windows */ +#endif #endif #ifdef WIN32