From 530e80373e55b03f7a68b7d286e408865dfeffd2 Mon Sep 17 00:00:00 2001 From: Michael Wallner Date: Wed, 19 Jul 2017 12:26:08 +0200 Subject: [PATCH] configure: add stdarg --- config.m4 | 2 ++ m4/posix/stdarg.m4 | 4 ++++ 2 files changed, 6 insertions(+) create mode 100644 m4/posix/stdarg.m4 diff --git a/config.m4 b/config.m4 index 63458ad..f25cc06 100644 --- a/config.m4 +++ b/config.m4 @@ -25,6 +25,7 @@ m4_foreach(incfile, [ [posix/stdio.m4], [posix/stdint.m4], [posix/stdlib.m4], + [posix/stdarg.m4], [posix/sys_select.m4], [posix/sys_socket.m4], [posix/sys_stat.m4], @@ -129,6 +130,7 @@ if test "$PHP_PSI" != no; then PSI_CONFIG_POSIX(stdio, stdio.h) PSI_CONFIG_POSIX(stdlib, stdlib.h) PSI_CONFIG_POSIX(unistd, unistd.h) + PSI_CONFIG_POSIX(stdarg, stdarg.h) PSI_CONFIG_POSIX(sys/socket, sys/socket.h, [ PSI_CONFIG_POSIX(netinet/in, netinet/in.h, [ PSI_CONFIG_POSIX(arpa/inet, arpa/inet.h) diff --git a/m4/posix/stdarg.m4 b/m4/posix/stdarg.m4 new file mode 100644 index 0000000..8b5f703 --- /dev/null +++ b/m4/posix/stdarg.m4 @@ -0,0 +1,4 @@ +PSI_CHECK_STDARG() { + PSI_OPAQUE_TYPE(va_list) + PSI_OPAQUE_TYPE(__builtin_va_list) +} \ No newline at end of file -- 2.30.2