diff options
Diffstat (limited to 'ext/standard/string.c')
| -rw-r--r-- | ext/standard/string.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/ext/standard/string.c b/ext/standard/string.c index a9f767a82c..f3cd2bda12 100644 --- a/ext/standard/string.c +++ b/ext/standard/string.c @@ -1503,8 +1503,7 @@ PHP_FUNCTION(stripslashes) /* }}} */ #ifndef HAVE_STRERROR -#if !APACHE -char *strerror(int errnum) +char *php_strerror(int errnum) { extern int sys_nerr; extern char *sys_errlist[]; @@ -1515,7 +1514,6 @@ char *strerror(int errnum) return(BG(str_ebuf)); } #endif -#endif PHPAPI void php_stripcslashes(char *str, int *len) { |
