From 303fc609a65cf269d163064bbf5fcec0155849b5 Mon Sep 17 00:00:00 2001 From: Moriyoshi Koizumi Date: Mon, 8 Sep 2003 20:59:36 +0000 Subject: [PATCH] Fix build in VC++7. # The line didn't reflect the above comment, helly :) --- 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 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 -- 2.50.1