41 #ifndef _crossplatformincludes_h
42 #define _crossplatformincludes_h
82 #ifdef _MEZZ_THREAD_WIN32_
84 #pragma warning( disable : 4251) // Disable the dll import/export warnings on items that are set correctly.
85 #pragma warning( disable : 4244) // Disable the double to float conversions, they are in their by design to minimize floating point rounding during intermediate calculations.
86 #pragma warning( disable : 4127) // Disable conditional expression is constant
87 #pragma warning( disable : 4800) // pugi xml unspecified bool type coercion has performance cost, used only in unit tests
88 #pragma warning( disable : 4221) // interfaces don't generate linkable symbols, well of course they don't
89 #pragma warning( disable : 4512) // Could not generate assignment operator for class that doesn't need one
91 #ifndef WIN32_LEAN_AND_MEAN
92 #define WIN32_LEAN_AND_MEAN
93 #define __UNDEF_LEAN_AND_MEAN
100 #ifdef __UNDEF_LEAN_AND_MEAN
101 #undef WIN32_LEAN_AND_MEAN
102 #undef __UNDEF_LEAN_AND_MEAN
111 #endif // include guard