diff --git a/include/wx/msw/msvcrt.h b/include/wx/msw/msvcrt.h index 692f19ef35..e92a88d841 100644 --- a/include/wx/msw/msvcrt.h +++ b/include/wx/msw/msvcrt.h @@ -37,7 +37,12 @@ #endif #include - #ifndef _CRTBLD + + // Defining _CRTBLD should never be necessary at all, but keep it for now + // as there is no time to retest all the compilers before 3.0 release. + // Definitely do not use it with MSVS 2013 as defining it results in errors + // if the standard is included afterwards. + #if !defined(_CRTBLD) && !wxCHECK_VISUALC_VERSION(12) // Needed when building with pure MS SDK #define _CRTBLD #endif