diff options
author | SVN Migration <svn@php.net> | 1999-07-24 21:40:38 +0000 |
---|---|---|
committer | SVN Migration <svn@php.net> | 1999-07-24 21:40:38 +0000 |
commit | cd59acb4a010863d3e7ac4724acd5288bd25a7b7 (patch) | |
tree | f788796e74759b0c09c3032b1cd6da3fc98a49b3 /ext/gd/php3_gd.h | |
parent | b1617d8ac3bad1ace92085194e24cff8cbdbaf31 (diff) | |
download | php-git-BEFORE_BIG_SYMBOL_CHANGE.tar.gz |
This commit was manufactured by cvs2svn to create tagBEFORE_BIG_SYMBOL_CHANGE
'BEFORE_BIG_SYMBOL_CHANGE'.
Diffstat (limited to 'ext/gd/php3_gd.h')
-rw-r--r-- | ext/gd/php3_gd.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/ext/gd/php3_gd.h b/ext/gd/php3_gd.h index d3f4dfced3..d6ef1d53b1 100644 --- a/ext/gd/php3_gd.h +++ b/ext/gd/php3_gd.h @@ -34,6 +34,11 @@ #ifndef _PHP3_GD_H #define _PHP3_GD_H + +#if defined(HAVE_LIBTTF) && defined(HAVE_FREETYPE_H) +#define ENABLE_GD_TTF +#endif + #if COMPILE_DL #undef HAVE_LIBGD #define HAVE_LIBGD 1 @@ -89,7 +94,7 @@ PHP_FUNCTION(imagesyfn); void php3_free_gd_font(gdFontPtr); void _php3_gdimagecharup(gdImagePtr, gdFontPtr, int, int, int, int); PHP_FUNCTION(imagedashedline); -#ifdef HAVE_LIBTTF +#ifdef ENABLE_GD_TTF PHP_FUNCTION(imagettfbbox); PHP_FUNCTION(imagettftext); #endif |