aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2013-07-22 09:36:03 +0200
committerAndreas Schneider <asn@cryptomilk.org>2013-07-22 13:01:36 +0200
commit5145daba69e462ddd69d961b0d940db3aebafa11 (patch)
tree099b9031033ccd80a95406015efd3683f1858788
parent729a586027d9676edc30b0af68c9be87a9c09e93 (diff)
downloadlibssh-5145daba69e462ddd69d961b0d940db3aebafa11.tar.gz
libssh-5145daba69e462ddd69d961b0d940db3aebafa11.tar.xz
libssh-5145daba69e462ddd69d961b0d940db3aebafa11.zip
cmake: Define HAVE_NTOHLL and HAVE_HTONLL on Windows.
-rw-r--r--ConfigureChecks.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake
index 0d5a0e82..fa561d1a 100644
--- a/ConfigureChecks.cmake
+++ b/ConfigureChecks.cmake
@@ -59,6 +59,8 @@ if (WIN32)
if (HAVE_WSPIAPI_H OR HAVE_WS2TCPIP_H)
set(HAVE_GETADDRINFO TRUE)
set(HAVE_GETHOSTBYNAME TRUE)
+ set(HAVE_NTOHLL TRUE)
+ set(HAVE_HTONLL TRUE)
endif (HAVE_WSPIAPI_H OR HAVE_WS2TCPIP_H)
set(HAVE_SELECT TRUE)