diff --git a/ext/standard/string.c b/ext/standard/string.c index 0c491dde0ca..2abd2c796a1 100644 --- a/ext/standard/string.c +++ b/ext/standard/string.c @@ -4074,7 +4074,7 @@ do_escape: */ zend_string *php_addslashes_default(zend_string *str, int should_free) #else -zend_string *php_addslashes(zend_string *str, int should_free) +PHPAPI zend_string *php_addslashes(zend_string *str, int should_free) #endif { /* maximum string length, worst case situation */