cvs: php-src(PHP_4_3) /ext/gd/libgd gd.c
| From: | Moriyoshi Koizumi | Date: | Mon, 08 Sep 2003 21:01:38 +0000 |
| Subject: | cvs: php-src(PHP_4_3) /ext/gd/libgd gd.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-23696@lists.php.net to get a copy of this message | ||
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