Some requirements engineering: today necessary defines exists where

needed.
This commit is contained in:
Marcus Boerger 2002-08-27 20:10:46 +00:00
parent d1b56bf810
commit 1ab90386cf

View File

@ -2699,10 +2699,7 @@ static void php_imagettftext_common(INTERNAL_FUNCTION_PARAMETERS, int mode, int
#endif
#if !HAVE_GD_STRINGFTEX
if (extended) {
php_error_docref(NULL TSRMLS_CC, E_WARNING, "gdImageStringFTEx not supported in this PHP build");
RETURN_FALSE;
}
assert(!extended);
#endif
argc = ZEND_NUM_ARGS();