diff options
author | foobar <sniper@php.net> | 2003-06-04 05:32:03 +0000 |
---|---|---|
committer | foobar <sniper@php.net> | 2003-06-04 05:32:03 +0000 |
commit | b2ee53106f0932e6e77aa98c5f53e72a0e0bd04c (patch) | |
tree | ebbe0543859ff414788302c179bd62862a9ece34 | |
parent | ef1263a589cc2fd4fc85a01be369919805c80e18 (diff) | |
download | php-git-b2ee53106f0932e6e77aa98c5f53e72a0e0bd04c.tar.gz |
MFB: fix build
-rw-r--r-- | ext/gd/libgd/gd.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/gd/libgd/gd.c b/ext/gd/libgd/gd.c index a25a6f2afd..5f3e3548b3 100644 --- a/ext/gd/libgd/gd.c +++ b/ext/gd/libgd/gd.c @@ -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 */ |