From: Moriyoshi Koizumi Date: Mon, 8 Sep 2003 20:59:36 +0000 (+0000) Subject: Fix build in VC++7. X-Git-Tag: RELEASE_0_7~168 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=303fc609a65cf269d163064bbf5fcec0155849b5;p=php Fix build in VC++7. # The line didn't reflect the above comment, helly :) --- diff --git a/ext/gd/libgd/gd.c b/ext/gd/libgd/gd.c index 4598081f40..540605a9a5 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