From 4046be06720932a57a0f49416b0144b2858824d0 Mon Sep 17 00:00:00 2001 From: Daniel Wilhelm Date: Fri, 18 Apr 2014 16:59:06 +0200 Subject: 2.0 --- library/pch.h | 23 ++++++++++------------- 1 file changed, 10 insertions(+), 13 deletions(-) (limited to 'library/pch.h') diff --git a/library/pch.h b/library/pch.h index 50f9fda3..b561d448 100644 --- a/library/pch.h +++ b/library/pch.h @@ -1,8 +1,10 @@ #ifndef FFS_PRECOMPILED_HEADER #define FFS_PRECOMPILED_HEADER -DO NOT USE THIS FILE: -FOR SOME REASON IT CORRUPTS COMPILATION!!! +//pay attention when using this file: might cause issues! +#ifndef __WXDEBUG__ +do NOT use in release build! +#endif //##################################################### // basic wxWidgets headers @@ -12,22 +14,17 @@ FOR SOME REASON IT CORRUPTS COMPILATION!!! #include -#ifndef WX_PRECOMP -#include -#endif - //##################################################### // #include other rarely changing headers here //STL headers -#include -#include #include -#include #include +#include +#include +#include +#include #include - -//C headers #include #ifdef FFS_LINUX @@ -36,7 +33,6 @@ FOR SOME REASON IT CORRUPTS COMPILATION!!! //other wxWidgets headers #include -#include #include #include #include @@ -90,9 +86,10 @@ FOR SOME REASON IT CORRUPTS COMPILATION!!! //other #include "tinyxml/tinyxml.h" +#include #ifdef FFS_WIN -#include +#include //includes "windows.h" #endif //FFS_WIN //##################################################### -- cgit