mirror of
https://git.libssh.org/projects/libssh.git
synced 2026-02-05 12:50:30 +09:00
Typos in last patch
This commit is contained in:
@@ -48,7 +48,7 @@ if (WIN32)
|
||||
if(NOT HAVE_SNPRINTF)
|
||||
check_function_exists(_snprintf HAVE__SNPRINTF)
|
||||
check_function_exists(_snprintf_s HAVE__SNPRINTF_S)
|
||||
endif(NOT HAVE_HAVE_SNPRINTF)
|
||||
endif(NOT HAVE_SNPRINTF)
|
||||
check_function_exists(strncpy HAVE_STRNCPY)
|
||||
|
||||
set(HAVE_SELECT TRUE)
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user