aboutsummaryrefslogtreecommitdiff
path: root/ConfigureChecks.cmake
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2016-11-06 11:40:48 +0100
committerAndreas Schneider <asn@cryptomilk.org>2016-11-06 11:41:48 +0100
commitfab85b495e1bb023017b8da916d679e52f39c3f4 (patch)
treea54894dea3e8d38c5be47e80ee245051c8c93326 /ConfigureChecks.cmake
parent293ab4bd40eade73e21c6a6e963814a226613c77 (diff)
downloadlibssh-fab85b495e1bb023017b8da916d679e52f39c3f4.tar.gz
libssh-fab85b495e1bb023017b8da916d679e52f39c3f4.tar.xz
libssh-fab85b495e1bb023017b8da916d679e52f39c3f4.zip
cmake: Always check for strtoull
This fixes building with different compilers on Windows BUG: https://red.libssh.org/issues/225 Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Diffstat (limited to 'ConfigureChecks.cmake')
-rw-r--r--ConfigureChecks.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake
index 22d98e25..56822f35 100644
--- a/ConfigureChecks.cmake
+++ b/ConfigureChecks.cmake
@@ -124,6 +124,7 @@ endif (NOT WITH_GCRYPT)
check_function_exists(isblank HAVE_ISBLANK)
check_function_exists(strncpy HAVE_STRNCPY)
+check_function_exists(strtoull HAVE_STRTOULL)
if (NOT WIN32)
check_function_exists(vsnprintf HAVE_VSNPRINTF)
@@ -190,7 +191,6 @@ if (UNIX)
check_library_exists(util forkpty "" HAVE_LIBUTIL)
check_function_exists(cfmakeraw HAVE_CFMAKERAW)
- check_function_exists(strtoull HAVE_STRTOULL)
check_function_exists(__strtoull HAVE___STRTOULL)
endif (UNIX)