From e6a6017f78878609b2885451b6046717f478c027 Mon Sep 17 00:00:00 2001 From: Peter Kokot Date: Mon, 8 Apr 2019 23:39:45 +0200 Subject: Remove HAVE_STRERROR Checking for the strerror function presence is no longer needed since it is part of the C89 standard [1] and can be safely assumed that all current systems have it. Check in the configure.ac and Windows defined symbol are still left until the file library (libmagic) will be updated. [1]: https://port70.net/~nsz/c/c89/c89-draft.html --- main/php.h | 4 ---- 1 file changed, 4 deletions(-) (limited to 'main/php.h') diff --git a/main/php.h b/main/php.h index 888344324e..48b4633879 100644 --- a/main/php.h +++ b/main/php.h @@ -230,10 +230,6 @@ typedef unsigned int socklen_t; #include "zend_stack.h" #include -#ifndef HAVE_STRERROR -char *strerror(int); -#endif - #if HAVE_PWD_H # ifdef PHP_WIN32 #include "win32/param.h" -- cgit v1.2.1