summaryrefslogtreecommitdiffstats
path: root/ConfigureChecks.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'ConfigureChecks.cmake')
-rw-r--r--ConfigureChecks.cmake5
1 files changed, 5 insertions, 0 deletions
diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake
index d3dec1ab..03b55282 100644
--- a/ConfigureChecks.cmake
+++ b/ConfigureChecks.cmake
@@ -39,6 +39,11 @@ if (WIN32)
set(HAVE_GETHOSTBYNAME TRUE)
endif (HAVE_WSPIAPI_H OR HAVE_WS2TCPIP_H)
+ check_function_exists(vsnprintf HAVE_VSNPRINTF)
+ if(NOT HAVE_VSNPRINTF)
+ check_function_exists(_vsnprintf HAVE__VSNPRINTF)
+ endif(NOT HAVE_VSNPRINTF)
+
set(HAVE_SELECT TRUE)
endif (WIN32)