From 07c4ab7db83eda2eed7fa4a5ddeec2e28c7eb58b Mon Sep 17 00:00:00 2001 From: Juan Jose Garcia Ripoll Date: Sun, 5 Aug 2012 12:29:00 +0200 Subject: [PATCH] Do not use winsockapi in cygwin. --- src/h/ecl-cmp.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/h/ecl-cmp.h b/src/h/ecl-cmp.h index 7c36697b5..06f3c6d7a 100755 --- a/src/h/ecl-cmp.h +++ b/src/h/ecl-cmp.h @@ -14,7 +14,11 @@ See file '../Copyright' for full details. */ +#ifndef __CYGWIN__ +/* Recent versions of cygwin do not define fd_set when WINSOCKAPI is + * defined */ #define _WINSOCKAPI_ +#endif /* __CYGWIN__ */ #include #include /* for inline mathematics */ #include