From 8e4dc61208aaa6e2e4b1934943aa2cd32e745597 Mon Sep 17 00:00:00 2001 From: OBATA Akio Date: Sun, 16 Aug 2020 19:00:54 +0900 Subject: Fix to declare vsnprintf prototype with detected condition It was introduced in HP-UX 10.20 (undocumented) and suppoted in 10.30 and later, so no need to declare it on HP-UX unconditionally. Signed-off-by: OBATA Akio (cherry picked from commit 76a04f5fce7c958be414ce0ede6afe14c66a5584) --- config.h.cmake | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/config.h.cmake b/config.h.cmake index 5b73a07de..f7bf52aca 100644 --- a/config.h.cmake +++ b/config.h.cmake @@ -1134,11 +1134,7 @@ __END_DECLS -/* - * On HP-UX, the declaration of vsnprintf() is needed every time ! - */ - -#if !defined(HAVE_VSNPRINTF) || defined(hpux) +#if !defined(HAVE_VSNPRINTF_PROTO) #if __STDC__ #include #include -- cgit v1.2.1