summaryrefslogtreecommitdiffstats
path: root/Utilities/cmcurl
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2007-07-20 16:25:44 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2007-07-20 16:25:44 (GMT)
commita6c86cbd04b8f7a0deaa00824306c47cabc0a4d8 (patch)
treec3ec265243bb4738f325a3a69d56a5ee7b07c317 /Utilities/cmcurl
parent8ce5b5b9128bf120a9058886f2adfa340e90360e (diff)
downloadCMake-a6c86cbd04b8f7a0deaa00824306c47cabc0a4d8.zip
CMake-a6c86cbd04b8f7a0deaa00824306c47cabc0a4d8.tar.gz
CMake-a6c86cbd04b8f7a0deaa00824306c47cabc0a4d8.tar.bz2
ENH: change order so windows functions are found first since try compile is slow on windows
Diffstat (limited to 'Utilities/cmcurl')
-rw-r--r--Utilities/cmcurl/CMake/OtherTests.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/Utilities/cmcurl/CMake/OtherTests.cmake b/Utilities/cmcurl/CMake/OtherTests.cmake
index 30d3600..ec3ed09 100644
--- a/Utilities/cmcurl/CMake/OtherTests.cmake
+++ b/Utilities/cmcurl/CMake/OtherTests.cmake
@@ -33,7 +33,7 @@ IF(curl_cv_recv)
#SET(curl_cv_func_recv_args "unknown")
#for recv_retv in 'int' 'ssize_t'; do
IF(NOT DEFINED curl_cv_func_recv_args OR "${curl_cv_func_recv_args}" STREQUAL "unknown")
- FOREACH(recv_retv "ssize_t" "int")
+ FOREACH(recv_retv "int" "ssize_t" )
FOREACH(recv_arg1 "int" "ssize_t" "SOCKET")
FOREACH(recv_arg2 "void *" "char *")
FOREACH(recv_arg3 "size_t" "int" "socklen_t" "unsigned int")
@@ -96,7 +96,7 @@ IF(curl_cv_send)
#SET(curl_cv_func_send_args "unknown")
#for send_retv in 'int' 'ssize_t'; do
IF(NOT DEFINED curl_cv_func_send_args OR "${curl_cv_func_send_args}" STREQUAL "unknown")
- FOREACH(send_retv "ssize_t" "int")
+ FOREACH(send_retv "int" "ssize_t" )
FOREACH(send_arg1 "int" "ssize_t" "SOCKET")
FOREACH(send_arg2 "const void *" "void *" "char *" "const char *")
FOREACH(send_arg3 "size_t" "int" "socklen_t" "unsigned int")