]> granicus.if.org Git - php/commitdiff
MFH(r-1.66): fix build in VC++7.
authorMoriyoshi Koizumi <moriyoshi@php.net>
Mon, 8 Sep 2003 21:01:37 +0000 (21:01 +0000)
committerMoriyoshi Koizumi <moriyoshi@php.net>
Mon, 8 Sep 2003 21:01:37 +0000 (21:01 +0000)
ext/gd/libgd/gd.c

index ffe7f92c7798cc1cc8c742dd5686c1868969ea5a..0befc9074ff7053e2fd264505150f7460710d812 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