mirror of
https://github.com/curl/curl.git
synced 2026-06-06 08:14:16 +03:00
Prevent definition of HAVE_WINxxx_H symbols and avoid inclusion of Windows headers when compiled with Cygwin in POSIX emulation mode.
This commit is contained in:
parent
c6ae0ebcbf
commit
bc2f0c7dcb
9 changed files with 208 additions and 11 deletions
|
|
@ -83,7 +83,7 @@
|
|||
* winsock2.h, ws2tcpip.h or winsock.h. Any other windows thing belongs
|
||||
* to any other further and independant block. Under Cygwin things work
|
||||
* just as under linux (e.g. <sys/socket.h>) and the winsock headers should
|
||||
* never be included.
|
||||
* never be included when __CYGWIN__ is defined.
|
||||
*/
|
||||
|
||||
#if defined(HAVE_WINDOWS_H) && !defined(__CYGWIN__)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue