From 62b4710d9e118c03a4cfd8a2f33cb5c9a1211f40 Mon Sep 17 00:00:00 2001 From: Moriyoshi Koizumi Date: Mon, 8 Sep 2003 21:01:37 +0000 Subject: [PATCH] MFH(r-1.66): fix build in VC++7. --- ext/gd/libgd/gd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.50.1