diff options
author | Peter Kokot <peterkokot@gmail.com> | 2019-04-08 23:39:45 +0200 |
---|---|---|
committer | Peter Kokot <peterkokot@gmail.com> | 2019-04-08 23:39:45 +0200 |
commit | e6a6017f78878609b2885451b6046717f478c027 (patch) | |
tree | de2b1e0c4fb63488626db4f247d3ef2d52aa1eca /main/php.h | |
parent | 07df6594b5c71b176b376aba8007bc33616bbfb0 (diff) | |
download | php-git-e6a6017f78878609b2885451b6046717f478c027.tar.gz |
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
Diffstat (limited to 'main/php.h')
-rw-r--r-- | main/php.h | 4 |
1 files changed, 0 insertions, 4 deletions
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 <string.h> -#ifndef HAVE_STRERROR -char *strerror(int); -#endif - #if HAVE_PWD_H # ifdef PHP_WIN32 #include "win32/param.h" |