From deb3dda96648e7ae5b83c6ea3d35a92a0c1476fa Mon Sep 17 00:00:00 2001 From: dartraiden Date: Wed, 7 Nov 2018 14:53:00 +0300 Subject: libcurl: update to 7.62 --- libs/libcurl/src/curl_rtmp.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'libs/libcurl/src/curl_rtmp.c') diff --git a/libs/libcurl/src/curl_rtmp.c b/libs/libcurl/src/curl_rtmp.c index 97430647bf..f09f2f332d 100644 --- a/libs/libcurl/src/curl_rtmp.c +++ b/libs/libcurl/src/curl_rtmp.c @@ -37,9 +37,11 @@ /* The last #include file should be: */ #include "memdebug.h" -#ifdef _WIN32 +#if defined(WIN32) && !defined(USE_LWIPSOCK) #define setsockopt(a,b,c,d,e) (setsockopt)(a,b,c,(const char *)d,(int)e) #define SET_RCVTIMEO(tv,s) int tv = s*1000 +#elif defined(LWIP_SO_SNDRCVTIMEO_NONSTANDARD) +#define SET_RCVTIMEO(tv,s) int tv = s*1000 #else #define SET_RCVTIMEO(tv,s) struct timeval tv = {s,0} #endif -- cgit v1.2.3