cvs: php4 /ext/gd/libgd gd.c
| From: | Jani Taskinen | Date: | Wed, 04 Jun 2003 05:32:03 +0000 |
| Subject: | cvs: php4 /ext/gd/libgd gd.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-21509@lists.php.net to get a copy of this message | ||
sniper Wed Jun 4 01:32:03 2003 EDT
Modified files:
/php4/ext/gd/libgd gd.c
Log:
MFB: fix build
Index: php4/ext/gd/libgd/gd.c
diff -u php4/ext/gd/libgd/gd.c:1.52 php4/ext/gd/libgd/gd.c:1.53
--- php4/ext/gd/libgd/gd.c:1.52 Tue Jun 3 20:20:19 2003
+++ php4/ext/gd/libgd/gd.c Wed Jun 4 01:32:03 2003
@@ -7,6 +7,9 @@
#include "php.h"
+/* 2.0.12: this now checks the clipping rectangle */
+#define gdImageBoundsSafeMacro(im, x, y) (!((((y) < (im)->cy1) || ((y) > (im)->cy2)) ||
(((x) < (im)->cx1) || ((x) > (im)->cx2))))
+
#ifdef _MSC_VER
# if _MSC_VER >= 1300
/* in MSVC.NET the these are available but only for __cplusplus and not _MSC_EXTENSIONS */