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>
pull/99/head
OBATA Akio 4 years ago committed by TDE Gitea
parent cc7cd83235
commit 76a04f5fce

@ -1155,11 +1155,7 @@ __END_DECLS
/* #if !defined(HAVE_VSNPRINTF_PROTO)
* On HP-UX, the declaration of vsnprintf() is needed every time !
*/
#if !defined(HAVE_VSNPRINTF) || defined(hpux)
#if __STDC__ #if __STDC__
#include <stdarg.h> #include <stdarg.h>
#include <stdlib.h> #include <stdlib.h>

Loading…
Cancel
Save