Use proper def for cygwin
authoraland <aland>
Wed, 30 May 2007 07:46:05 +0000 (07:46 +0000)
committeraland <aland>
Wed, 30 May 2007 07:46:05 +0000 (07:46 +0000)
src/include/missing.h

index b099516..f8f8740 100644 (file)
@@ -73,7 +73,10 @@ RCSIDH(missing_h, "$Id$")
 # endif
 #endif
 
-#ifndef CYGWIN
+/*
+ *     Don't look for winsock.h if we're on cygwin.
+ */
+#ifndef __CYGWIN__
 #ifdef HAVE_WINSOCK_H
 #include <winsock.h>
 #endif