fixed bug with cross wmingw build
authorEdouard Tisserant
Thu, 23 Jun 2011 18:12:34 +0200
changeset 662 aad111ad0018
parent 661 06494ae5b2b6
child 663 70fc3603e36f
fixed bug with cross wmingw build
include/win32/applicfg.h
--- a/include/win32/applicfg.h	Mon Jun 20 18:36:43 2011 +0200
+++ b/include/win32/applicfg.h	Thu Jun 23 18:12:34 2011 +0200
@@ -95,7 +95,8 @@
 // --------------------------------------
 
 #ifndef _MSC_VER
-#error This block is for Visual only, please adapt it for your compiler.
+#define MSG(...) \
+  do{printf(__VA_ARGS__);fflush(stdout);}while(0)
 #elif (_MSC_VER >= 1400)
 //Visual Studio 2005 and above
 #ifdef UNICODE