summaryrefslogtreecommitdiffstats
path: root/config.h.cmake
diff options
context:
space:
mode:
authorOBATA Akio <obache@wizdas.com>2020-08-16 19:00:54 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2020-08-17 23:21:48 +0900
commit295b8c54ac2bf77d09aa6bf48aafd1dbaaaef4a8 (patch)
tree68feb89fb74236fbe0ec3c3ac329579e7c4e7819 /config.h.cmake
parent7fdb1600455b900a42c74f50e6b9b0a645a66482 (diff)
downloadtdelibs-295b8c54ac2bf77d09aa6bf48aafd1dbaaaef4a8.tar.gz
tdelibs-295b8c54ac2bf77d09aa6bf48aafd1dbaaaef4a8.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)
Diffstat (limited to 'config.h.cmake')
-rw-r--r--config.h.cmake6
1 files changed, 1 insertions, 5 deletions
diff --git a/config.h.cmake b/config.h.cmake
index 8900f2e86..4c095931d 100644
--- a/config.h.cmake
+++ b/config.h.cmake
@@ -1146,11 +1146,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>