diff --git a/SAX/helpers/StringAdaptor.h b/SAX/helpers/StringAdaptor.h index 1a2ce5f0..052c1ea1 100644 --- a/SAX/helpers/StringAdaptor.h +++ b/SAX/helpers/StringAdaptor.h @@ -73,7 +73,7 @@ public: } // toStdWString default_string_adaptor() : -#ifndef _MSC_VER +#if !(_MSC_VER < 1300) loc_(std::locale(), new utf16utf8_codecvt()), #else loc_(std::_Addfac(std::locale(), new utf16utf8_codecvt)), @@ -137,7 +137,7 @@ public: } // toStdWString default_string_adaptor() : -#ifndef _MSC_VER +#if !(_MSC_VER < 1300) loc_(std::locale(), new utf16utf8_codecvt()), #else loc_(std::_Addfac(std::locale(), new utf16utf8_codecvt)),