Author: ianmacarthur
Date: 2012-07-27 15:12:52 -0700 (Fri, 27 Jul 2012)
New Revision: 9647
Log:
Attempt to fix build issues under mingw32.
This fix works in my setup now (gcc-4.6 etc...) 
and I think it is good.

I'm commiting this to let Jenkins take a stab at it.
Note that Jenkins is currenlty reporting this broken too...




Modified:
   branches/branch-3.0/src/fltk3/flstring.c
   branches/branch-3.0/src/fltk3/flstring.h

Modified: branches/branch-3.0/src/fltk3/flstring.c
===================================================================
--- branches/branch-3.0/src/fltk3/flstring.c    2012-07-27 12:22:58 UTC (rev 
9646)
+++ branches/branch-3.0/src/fltk3/flstring.c    2012-07-27 22:12:52 UTC (rev 
9647)
@@ -27,7 +27,7 @@
 
 #include "flstring.h"
 
-#if defined(WIN32) && !defined(__CYGWIN__)
+#if defined(WIN32) && !defined(__CYGWIN__) && !defined(__MINGW32__)
 #ifdef __cplusplus
 extern "C" {
 #endif

Modified: branches/branch-3.0/src/fltk3/flstring.h
===================================================================
--- branches/branch-3.0/src/fltk3/flstring.h    2012-07-27 12:22:58 UTC (rev 
9646)
+++ branches/branch-3.0/src/fltk3/flstring.h    2012-07-27 22:12:52 UTC (rev 
9647)
@@ -48,7 +48,7 @@
 #    undef index
 #  endif /* index */
 
-#  if defined(WIN32) && !defined(__CYGWIN__)
+#  if defined(WIN32) && !defined(__CYGWIN__) && !defined(__MINGW32__)
 #ifdef __cplusplus
 extern "C" {
 #endif

_______________________________________________
fltk-commit mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-commit

Reply via email to