summaryrefslogtreecommitdiff
path: root/config.h.in
diff options
context:
space:
mode:
authorTodd C. Miller <Todd.Miller@sudo.ws>2021-07-25 15:51:23 -0600
committerTodd C. Miller <Todd.Miller@sudo.ws>2021-07-25 15:51:23 -0600
commit4b42d7c2a72d92a6fc191ad1b873d1ed33fca5b1 (patch)
tree997a1ff632c2a61080f6df834c198ebef86df1a1 /config.h.in
parent17003554876d3e047a103822afe21513399b6f8b (diff)
downloadsudo-4b42d7c2a72d92a6fc191ad1b873d1ed33fca5b1.tar.gz
Add configure check for va_copy instead of using #ifdef
This prevents the va_copy compat #define from being used if sudo_compat.h is somehow included before stdarg.h.
Diffstat (limited to 'config.h.in')
-rw-r--r--config.h.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/config.h.in b/config.h.in
index 678ebd0c6..90be6906b 100644
--- a/config.h.in
+++ b/config.h.in
@@ -967,6 +967,9 @@
/* Define to 1 if you have the `vasprintf' function. */
#undef HAVE_VASPRINTF
+/* Define to 1 if you have the `va_copy' function. */
+#undef HAVE_VA_COPY
+
/* Define to 1 if you have the `vsnprintf' function. */
#undef HAVE_VSNPRINTF
@@ -1018,6 +1021,9 @@
/* Define to 1 if your crt0.o defines the __progname symbol for you. */
#undef HAVE___PROGNAME
+/* Define to 1 if you have the `__va_copy' function. */
+#undef HAVE___VA_COPY
+
/* Define to 1 if you want the hostname to be entered into the log file. */
#undef HOST_IN_LOG