sniper Wed Jun 4 01:30:46 2003 EDT
Modified files: (Branch: PHP_4_3)
/php4/ext/gd/libgd gd.c
Log:
Fix build
Index: php4/ext/gd/libgd/gd.c
diff -u php4/ext/gd/libgd/gd.c:1.24.2.11 php4/ext/gd/libgd/gd.c:1.24.2.12
--- php4/ext/gd/libgd/gd.c:1.24.2.11 Tue Jun 3 20:22:30 2003
+++ php4/ext/gd/libgd/gd.c Wed Jun 4 01:30:45 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 */
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php