mirror of
https://github.com/php/php-src.git
synced 2024-12-11 10:54:47 +08:00
Some requirements engineering: today necessary defines exists where
needed.
This commit is contained in:
parent
d1b56bf810
commit
1ab90386cf
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user