diff options
author | OBATA Akio <obache@wizdas.com> | 2020-08-16 19:00:54 +0900 |
---|---|---|
committer | TDE Gitea <gitea@mirror.git.trinitydesktop.org> | 2020-08-17 14:21:12 +0000 |
commit | 76a04f5fce7c958be414ce0ede6afe14c66a5584 (patch) | |
tree | c255f0bf592058d24af764a5bf2f84587bfa4811 /config.h.cmake | |
parent | cc7cd8323514e0dbd0a485128491e619f3f19633 (diff) | |
download | tdelibs-76a04f5fce7c958be414ce0ede6afe14c66a5584.tar.gz tdelibs-76a04f5fce7c958be414ce0ede6afe14c66a5584.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>
Diffstat (limited to 'config.h.cmake')
-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 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 <stdarg.h> #include <stdlib.h> |