[Ecls-list] Problem building ECL on Cygwin

Jean-Pierre Flori jpflori at gmail.com
Fri Aug 3 08:22:28 UTC 2012

> If you go to https://sourceforge.net/p/ecls/patches/  log in and click on
> Create Ticket you can attach your patch for future revision. If you find it
> too uncomfortable for this one particular submission, just send it to me by
> email.
As I still seems unable to directly submit the patch on sf.net (no
button yet although I'm logged in, just "View stats" and some Groups
and Searches and Help buttons on the left panel... maybe some openid
authentification crap), I've attached the (short) patch here.
Sorry about that.

diff -ur src.orig/src/h/ecl-cmp.h src/src/h/ecl-cmp.h
--- src.orig/src/h/ecl-cmp.h	2010-10-04 21:00:21.000000000 +0200
+++ src/src/h/ecl-cmp.h	2012-08-01 15:40:20.875186429 +0200
@@ -14,7 +14,9 @@
     See file '../Copyright' for full details.

+#ifndef __CYGWIN__
 #define _WINSOCKAPI_
+#endif /* __CYGWIN__ */
 #include <ecl/ecl.h>
 #include <math.h> /* for inline mathematics */
 #include <ecl/ecl-inl.h>

Jean-Pierre Flori

More information about the ecl-devel mailing list