aboutsummaryrefslogtreecommitdiff
path: root/lib
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 /lib
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 'lib')
-rw-r--r--lib/setup.h2
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__)