summaryrefslogtreecommitdiff
path: root/ext/gd/libgd/gd.c
diff options
context:
space:
mode:
authorMarcus Boerger <helly@php.net>2003-02-02 01:34:54 +0000
committerMarcus Boerger <helly@php.net>2003-02-02 01:34:54 +0000
commit1d9477f386bb1cdf84d2bc397a572e108b72d425 (patch)
treef6c500bcd8815ca057c231e356e51d4acc6d7206 /ext/gd/libgd/gd.c
parent28f76a2a4d48a959a875804867ad077144dc7888 (diff)
downloadphp-git-1d9477f386bb1cdf84d2bc397a572e108b72d425.tar.gz
- new xbm support
@Added XBM support for bundled gd library. (marcus) # It was enabled by the last commit and fixed by this one.
Diffstat (limited to 'ext/gd/libgd/gd.c')
-rw-r--r--ext/gd/libgd/gd.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/gd/libgd/gd.c b/ext/gd/libgd/gd.c
index 7eddeb7240..9867df0e9e 100644
--- a/ext/gd/libgd/gd.c
+++ b/ext/gd/libgd/gd.c
@@ -2777,6 +2777,7 @@ gdImagePtr gdImageRotate (gdImagePtr src, double dAngle, int clrBack)
}
/* End Rotate function */
+#if MBO_0
gdImagePtr
gdImageCreateFromXbm (FILE * fd)
{
@@ -2902,6 +2903,7 @@ fail:
gdImageDestroy (im);
return 0;
}
+#endif /* MBO_0 */
void
gdImagePolygon (gdImagePtr im, gdPointPtr p, int n, int c)