diff options
author | Yang Tse <yangsita@gmail.com> | 2006-07-05 23:10:37 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2006-07-05 23:10:37 +0000 |
commit | bc2f0c7dcbd22ab52971df4a419933e70f263a3f (patch) | |
tree | f0691aecd2dab76f769aa04ad94c18a8fa4ed6aa /lib | |
parent | c6ae0ebcbf3c7b47ab444195613c6e14843fa248 (diff) |
Prevent definition of HAVE_WINxxx_H symbols and avoid inclusion of Windows headers when compiled with Cygwin in POSIX emulation mode.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/setup.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/setup.h b/lib/setup.h index cef40288e..57ac87d5b 100644 --- a/lib/setup.h +++ b/lib/setup.h @@ -81,7 +81,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__) |