Updated (ie checked and corrected): #if (defined(MSC_VER) && _MSC_VER < 1900) || (defined(__MINGW32__) && __GNUC__ < 4)