From fab85b495e1bb023017b8da916d679e52f39c3f4 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Sun, 6 Nov 2016 11:40:48 +0100 Subject: 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 --- ConfigureChecks.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ConfigureChecks.cmake') 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) -- cgit v1.2.3