From f5191ec222b1d41a2fa80f9f8a4b7d8737b4d173 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Mon, 10 May 2010 15:27:40 +0200 Subject: Added configure checks for _vsnprintf_s and strncpy. --- ConfigureChecks.cmake | 3 +++ 1 file changed, 3 insertions(+) (limited to 'ConfigureChecks.cmake') diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake index 4789365..2506546 100644 --- a/ConfigureChecks.cmake +++ b/ConfigureChecks.cmake @@ -37,9 +37,12 @@ if (WIN32) check_function_exists(vsnprintf HAVE_VSNPRINTF) if(NOT HAVE_VSNPRINTF) + check_function_exists(_vsnprintf_s HAVE__VSNPRINTF_S) check_function_exists(_vsnprintf HAVE__VSNPRINTF) endif(NOT HAVE_VSNPRINTF) + check_function_exists(strncpy HAVE_STRNCPY) + set(HAVE_SELECT TRUE) endif (WIN32) -- cgit v1.2.3