[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [gnurl] 104/208: cmake: fix send/recv argument scanner for
From: |
gnunet |
Subject: |
[GNUnet-SVN] [gnurl] 104/208: cmake: fix send/recv argument scanner for windows |
Date: |
Wed, 09 Aug 2017 17:35:01 +0200 |
This is an automated email from the git hooks/post-receive script.
ng0 pushed a commit to annotated tag gnurl-7.55.0
in repository gnurl.
commit 40ed7685bfcb2a02376baefa874fc9e352f6bcd0
Author: Daniel Stenberg <address@hidden>
AuthorDate: Wed Jul 5 08:29:43 2017 +0200
cmake: fix send/recv argument scanner for windows
... by simply trying the Windows argument types first.
Fixes #1640
---
CMake/OtherTests.cmake | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/CMake/OtherTests.cmake b/CMake/OtherTests.cmake
index 3b203c538..989f04eb2 100644
--- a/CMake/OtherTests.cmake
+++ b/CMake/OtherTests.cmake
@@ -32,9 +32,9 @@ int main(void) {
if(curl_cv_recv)
if(NOT DEFINED curl_cv_func_recv_args OR "${curl_cv_func_recv_args}"
STREQUAL "unknown")
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")
+ foreach(recv_arg1 "SOCKET" "int" )
+ foreach(recv_arg2 "char *" "void *" )
+ foreach(recv_arg3 "int" "size_t" "socklen_t" "unsigned int")
foreach(recv_arg4 "int" "unsigned int")
if(NOT curl_cv_func_recv_done)
unset(curl_cv_func_recv_test CACHE)
@@ -96,9 +96,9 @@ int main(void) {
if(curl_cv_send)
if(NOT DEFINED curl_cv_func_send_args OR "${curl_cv_func_send_args}"
STREQUAL "unknown")
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")
+ foreach(send_arg1 "SOCKET" "int" "ssize_t" )
+ foreach(send_arg2 "const char *" "const void *" "void *" "char *")
+ foreach(send_arg3 "int" "size_t" "socklen_t" "unsigned int")
foreach(send_arg4 "int" "unsigned int")
if(NOT curl_cv_func_send_done)
unset(curl_cv_func_send_test CACHE)
--
To stop receiving notification emails like this one, please contact
address@hidden
- [GNUnet-SVN] [gnurl] 69/208: test1521: fix compiler warnings, (continued)
- [GNUnet-SVN] [gnurl] 69/208: test1521: fix compiler warnings, gnunet, 2017/08/09
- [GNUnet-SVN] [gnurl] 44/208: getinfo: return sizes as curl_off_t, gnunet, 2017/08/09
- [GNUnet-SVN] [gnurl] 31/208: curl-compilers.m4: enable double-promotion warning, gnunet, 2017/08/09
- [GNUnet-SVN] [gnurl] 50/208: http: add --strip-path-slash and CURLOPT_STRIP_PATH_SLASH, gnunet, 2017/08/09
- [GNUnet-SVN] [gnurl] 35/208: curl: prevent binary output spewed to terminal, gnunet, 2017/08/09
- [GNUnet-SVN] [gnurl] 86/208: make: build the docs subdir only from within src, gnunet, 2017/08/09
- [GNUnet-SVN] [gnurl] 84/208: test1450: add simple testing for DICT, gnunet, 2017/08/09
- [GNUnet-SVN] [gnurl] 99/208: configure: try ldap/lber in reversed order first, gnunet, 2017/08/09
- [GNUnet-SVN] [gnurl] 93/208: tool_sleep: typecast to avoid macos compiler warning, gnunet, 2017/08/09
- [GNUnet-SVN] [gnurl] 97/208: dist: add SMB python deps into the tarball, gnunet, 2017/08/09
- [GNUnet-SVN] [gnurl] 104/208: cmake: fix send/recv argument scanner for windows,
gnunet <=
- [GNUnet-SVN] [gnurl] 101/208: travis: install nghttp2 on linux builds, gnunet, 2017/08/09
- [GNUnet-SVN] [gnurl] 112/208: runtests: support "threaded-resolver" as a feature, gnunet, 2017/08/09
- [GNUnet-SVN] [gnurl] 123/208: travis: add SMB, DICT, TELNET torture to coverage test, gnunet, 2017/08/09
- [GNUnet-SVN] [gnurl] 106/208: TODO: 1.10 auto-detect proxy, gnunet, 2017/08/09
- [GNUnet-SVN] [gnurl] 117/208: memdebug: don't setbuf() if the file open failed, gnunet, 2017/08/09
- [GNUnet-SVN] [gnurl] 81/208: handler: refactor connection checking, gnunet, 2017/08/09
- [GNUnet-SVN] [gnurl] 130/208: tool_getparam: fix potentially uninitialized err, gnunet, 2017/08/09
- [GNUnet-SVN] [gnurl] 78/208: curl_strequal.3: fix typo in SYNOPSIS, gnunet, 2017/08/09
- [GNUnet-SVN] [gnurl] 89/208: unit1399: fix integer overflow, gnunet, 2017/08/09
- [GNUnet-SVN] [gnurl] 77/208: RELEASE-NOTES: synced with ce2c3ebda, gnunet, 2017/08/09