From bc2f0c7dcbd22ab52971df4a419933e70f263a3f Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Wed, 5 Jul 2006 23:10:37 +0000 Subject: Prevent definition of HAVE_WINxxx_H symbols and avoid inclusion of Windows headers when compiled with Cygwin in POSIX emulation mode. --- src/setup.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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. ) and the winsock headers should - * never be included. + * never be included when __CYGWIN__ is defined. */ #if defined(HAVE_WINDOWS_H) && !defined(__CYGWIN__) -- cgit v1.2.3