diff options
author | Andreas Schneider <asn@cryptomilk.org> | 2016-11-06 11:40:48 +0100 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2016-11-06 11:42:04 +0100 |
commit | 8155b3c0a0f94ff088d05b877708b519b0e7d507 (patch) | |
tree | dd4eede90fbaf7d3052792d56423d55ed14bec9c | |
parent | 6836ffa1034b74f43d1de4168b167f7a37c1e7b1 (diff) | |
download | libssh-8155b3c0a0f94ff088d05b877708b519b0e7d507.tar.gz libssh-8155b3c0a0f94ff088d05b877708b519b0e7d507.tar.xz libssh-8155b3c0a0f94ff088d05b877708b519b0e7d507.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>
(cherry picked from commit fab85b495e1bb023017b8da916d679e52f39c3f4)
-rw-r--r-- | ConfigureChecks.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake index 6de33801..9f2c8c73 100644 --- a/ConfigureChecks.cmake +++ b/ConfigureChecks.cmake @@ -111,6 +111,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) @@ -177,7 +178,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) |