aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2006-07-05 23:10:37 +0000
committerYang Tse <yangsita@gmail.com>2006-07-05 23:10:37 +0000
commitbc2f0c7dcbd22ab52971df4a419933e70f263a3f (patch)
treef0691aecd2dab76f769aa04ad94c18a8fa4ed6aa /src
parentc6ae0ebcbf3c7b47ab444195613c6e14843fa248 (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 'src')
-rw-r--r--src/setup.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/setup.h b/src/setup.h
index f07b3a7b7..d3814fef4 100644
--- a/src/setup.h
+++ b/src/setup.h
@@ -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__)