Unverified Commit eda09988 authored by Gisle Vanem's avatar Gisle Vanem Committed by GitHub
Browse files

Fix for compiling with lwIP (3)

lwIP on Windows does not have a WSAIoctl() function. 
But it do have a SO_SNDBUF option to lwip_setsockopt(). But it currently does nothing.
parent 6535b930
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -879,7 +879,7 @@ static CURLcode done_sending(struct connectdata *conn,
  return CURLE_OK;
  return CURLE_OK;
}
}


#ifdef WIN32
#if defined(WIN32) && !defined(USE_LWIPSOCK)
#ifndef SIO_IDEAL_SEND_BACKLOG_QUERY
#ifndef SIO_IDEAL_SEND_BACKLOG_QUERY
#define SIO_IDEAL_SEND_BACKLOG_QUERY 0x4004747B
#define SIO_IDEAL_SEND_BACKLOG_QUERY 0x4004747B
#endif
#endif