From 0b09bd900f857aac928cd7e6bc059b1e0c8b718a Mon Sep 17 00:00:00 2001 From: Aris Adamantiadis Date: Fri, 14 May 2010 12:49:24 +0200 Subject: Typos in last patch --- include/libssh/priv.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'include/libssh') diff --git a/include/libssh/priv.h b/include/libssh/priv.h index 77423bfb..f3c2babd 100644 --- a/include/libssh/priv.h +++ b/include/libssh/priv.h @@ -65,11 +65,13 @@ #ifndef HAVE_VSNPRINTF #ifdef HAVE__VSNPRINTF_S #define vsnprintf(s, n, f, v) _vsnprintf_s((s), (n), _TRUNCATE, (f), (v)) -#elif HAVE__VSNPRINTF +#else +#ifdef HAVE__VSNPRINTF #define vsnprintf _vsnprintf #else /* HAVE_VSNPRINTF */ #error "No vsnprintf compatible function found" -#endif +#endif /* HAVE__VSNPRINTF */ +#endif /* HAVE__VSNPRINTF_S */ #endif /* HAVE_VSNPRINTF */ #ifndef HAVE_STRNCPY -- cgit