From 76a04f5fce7c958be414ce0ede6afe14c66a5584 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 --- config.h.cmake | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/config.h.cmake b/config.h.cmake index d3c4f0c7d..fe14d99ea 100644 --- a/config.h.cmake +++ b/config.h.cmake @@ -1155,11 +1155,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.3