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")