aboutsummaryrefslogtreecommitdiff
path: root/ConfigureChecks.cmake
diff options
context:
space:
mode:
authorAndreas Schneider <mail@cynapses.org>2010-05-10 15:27:40 +0200
committerAndreas Schneider <mail@cynapses.org>2010-05-10 15:27:40 +0200
commitf5191ec222b1d41a2fa80f9f8a4b7d8737b4d173 (patch)
tree081141ed3de70ddcfdb741f394a3e2ea46b817e5 /ConfigureChecks.cmake
parent144126789c0f7a75ef025c37f5e6e3e01be6dad8 (diff)
downloadlibssh-f5191ec222b1d41a2fa80f9f8a4b7d8737b4d173.tar.gz
libssh-f5191ec222b1d41a2fa80f9f8a4b7d8737b4d173.tar.xz
libssh-f5191ec222b1d41a2fa80f9f8a4b7d8737b4d173.zip
Added configure checks for _vsnprintf_s and strncpy.
Diffstat (limited to 'ConfigureChecks.cmake')
-rw-r--r--ConfigureChecks.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake
index 4789365a..2506546f 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)