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 76a04f5fce)
v3.5.13-sru
OBATA Akio 4 years ago committed by Slávek Banko
parent 961a3aac69
commit 8e4dc61208
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668

@ -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>

Loading…
Cancel
Save