Hi,

including stralign.h leads to potential build problems on Cygwin.  The
below patch simply drops including the file when building with a Cygwin
compiler.


Thanks,
Corinna


        * windows.h: Don't include stralign.h when build for Cygwin.


Index: windows.h
===================================================================
--- windows.h   (revision 5288)
+++ windows.h   (working copy)
@@ -110,7 +110,9 @@
 #endif
 #endif
 
+#ifndef __CYGWIN__
 #include <stralign.h>
+#endif
 
 #ifdef INC_OLE2
 #include <ole2.h>

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to