]> granicus.if.org Git - php/commitdiff
Fix build in VC++7.
authorMoriyoshi Koizumi <moriyoshi@php.net>
Mon, 8 Sep 2003 20:59:36 +0000 (20:59 +0000)
committerMoriyoshi Koizumi <moriyoshi@php.net>
Mon, 8 Sep 2003 20:59:36 +0000 (20:59 +0000)
# The line didn't reflect the above comment, helly :)

ext/gd/libgd/gd.c

index 4598081f40c0e2592086f5ce778db750634886b0..540605a9a5318a0063005db7748eede7d688144c 100644 (file)
@@ -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