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. --- lib/setup.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/setup.h') 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. ) 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