diff options
author | OBATA Akio <obache@wizdas.com> | 2020-08-16 19:00:54 +0900 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2021-02-03 22:38:07 +0100 |
commit | 8e4dc61208aaa6e2e4b1934943aa2cd32e745597 (patch) | |
tree | b5247f1717109ea46bc5f734afc497424d068b73 | |
parent | 961a3aac692ee0948b1fce49fcd257772554b0ce (diff) | |
download | tdelibs-8e4dc61208aaa6e2e4b1934943aa2cd32e745597.tar.gz tdelibs-8e4dc61208aaa6e2e4b1934943aa2cd32e745597.zip |
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 <obache@wizdas.com>
(cherry picked from commit 76a04f5fce7c958be414ce0ede6afe14c66a5584)
-rw-r--r-- | config.h.cmake | 6 |
1 files changed, 1 insertions, 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 <stdarg.h> #include <stdlib.h> |