summaryrefslogtreecommitdiff
path: root/main/php.h
diff options
context:
space:
mode:
authorPeter Kokot <peterkokot@gmail.com>2018-09-16 03:31:24 +0200
committerPeter Kokot <peterkokot@gmail.com>2018-09-16 20:50:20 +0200
commitdcc529aff4479e4287207fa8964ef2f05b2f02c4 (patch)
tree007e70d00a20657f8d256275eda6b6f75a6299a9 /main/php.h
parentf72b6c5e1979f0b203723421b58e8b2528fe77fc (diff)
downloadphp-git-dcc529aff4479e4287207fa8964ef2f05b2f02c4.tar.gz
Remove HAVE_SYS_VARARGS_H
Outdated systems used to provide the `<varargs.h>` and in case of PHP `<sys/varargs.h>`. [1] Current systems have `<stdarg.h>` which is also a C89 standard header and systems have it always present. [2] [1] https://en.wikipedia.org/wiki/Stdarg.h#varargs.h [2] https://port70.net/~nsz/c/c89/c89-draft.html#4.1.2
Diffstat (limited to 'main/php.h')
-rw-r--r--main/php.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/main/php.h b/main/php.h
index 4134f7b3d4..f23e18eebf 100644
--- a/main/php.h
+++ b/main/php.h
@@ -224,13 +224,8 @@ typedef unsigned int socklen_t;
#if HAVE_UNISTD_H
#include <unistd.h>
#endif
-#if HAVE_STDARG_H
+
#include <stdarg.h>
-#else
-# if HAVE_SYS_VARARGS_H
-# include <sys/varargs.h>
-# endif
-#endif
#include "php_stdint.h"