From a6c86cbd04b8f7a0deaa00824306c47cabc0a4d8 Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Fri, 20 Jul 2007 12:25:44 -0400 Subject: [PATCH] ENH: change order so windows functions are found first since try compile is slow on windows --- Utilities/cmcurl/CMake/OtherTests.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Utilities/cmcurl/CMake/OtherTests.cmake b/Utilities/cmcurl/CMake/OtherTests.cmake index 30d36004e..ec3ed0937 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")