summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMoriyoshi Koizumi <moriyoshi@php.net>2003-09-08 20:59:36 +0000
committerMoriyoshi Koizumi <moriyoshi@php.net>2003-09-08 20:59:36 +0000
commit303fc609a65cf269d163064bbf5fcec0155849b5 (patch)
treefc2b526555bb4dcab2615bffa219c611300e5e07
parent80fb9496b3e7a8fd33294d9b49c41c879df2b3a1 (diff)
downloadphp-git-303fc609a65cf269d163064bbf5fcec0155849b5.tar.gz
Fix build in VC++7.
# The line didn't reflect the above comment, helly :)
-rw-r--r--ext/gd/libgd/gd.c4
1 files 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