diff options
author | Gisle Vanem <gisle.vanem@gmail.com> | 2018-10-22 10:33:44 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-22 10:33:44 +0200 |
commit | d4275aa12f35e5c729c54d65c54ab421117b74f1 (patch) | |
tree | 3208314edec1ac439f342cbb9d477d0562e81177 /lib/strtok.c | |
parent | db1338474c699a95f824d525c210a3590c6f2554 (diff) | |
download | curl-d4275aa12f35e5c729c54d65c54ab421117b74f1.tar.gz |
Fix for compiling with lwIP
Compiling on _WIN32 and with USE_LWIPSOCK, causes this error:
curl_rtmp.c(223,3): error: use of undeclared identifier 'setsockopt'
setsockopt(r->m_sb.sb_socket, SOL_SOCKET, SO_RCVTIMEO,
^
curl_rtmp.c(41,32): note: expanded from macro 'setsockopt'
#define setsockopt(a,b,c,d,e) (setsockopt)(a,b,c,(const char *)d,(int)e)
^
(from with clang-cl).
Since 'setsockopt()' is really 'lwip_setsockopt()' in '<LWIP_ROOT>/src/include/lwip\sockets.h', do not redefine it.
Diffstat (limited to 'lib/strtok.c')
0 files changed, 0 insertions, 0 deletions