From: Moriyoshi Koizumi Date: Mon, 8 Sep 2003 21:01:37 +0000 (+0000) Subject: MFH(r-1.66): fix build in VC++7. X-Git-Tag: php-4.3.4RC1~92 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=62b4710d9e118c03a4cfd8a2f33cb5c9a1211f40;p=php MFH(r-1.66): fix build in VC++7. --- diff --git a/ext/gd/libgd/gd.c b/ext/gd/libgd/gd.c index ffe7f92c77..0befc9074f 100644 --- a/ext/gd/libgd/gd.c +++ b/ext/gd/libgd/gd.c @@ -9,8 +9,8 @@ #ifdef _MSC_VER # if _MSC_VER >= 1300 -/* in MSVC.NET the these are available but only for __cplusplus and not _MSC_EXTENSIONS */ -# ifdef _MSC_EXTENSIONS +/* in MSVC.NET these are available but only for __cplusplus and not _MSC_EXTENSIONS */ +# if !defined(_MSC_EXTENSIONS) && defined(__cplusplus) # define HAVE_FABSF 1 extern float fabsf(float x); # define HAVE_FLOORF 1