moriyoshi               Mon Sep  8 17:01:38 2003 EDT

  Modified files:              (Branch: PHP_4_3)
    /php-src/ext/gd/libgd       gd.c 
  Log:
  MFH(r-1.66): fix build in VC++7.
  
  
Index: php-src/ext/gd/libgd/gd.c
diff -u php-src/ext/gd/libgd/gd.c:1.24.2.21 php-src/ext/gd/libgd/gd.c:1.24.2.22
--- php-src/ext/gd/libgd/gd.c:1.24.2.21 Wed Jul 30 13:34:23 2003
+++ php-src/ext/gd/libgd/gd.c   Mon Sep  8 17:01:37 2003
@@ -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

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to