diff --git a/include/boost/logic/tribool.hpp b/include/boost/logic/tribool.hpp index 90cba3e..167a72a 100644 --- a/include/boost/logic/tribool.hpp +++ b/include/boost/logic/tribool.hpp @@ -14,7 +14,7 @@ #include #include -#if BOOST_WORKAROUND(_MSC_VER, >= 1200) +#if defined(_MSC_VER) # pragma once #endif diff --git a/include/boost/logic/tribool_io.hpp b/include/boost/logic/tribool_io.hpp index 9ee34d4..3ea52f3 100644 --- a/include/boost/logic/tribool_io.hpp +++ b/include/boost/logic/tribool_io.hpp @@ -11,7 +11,7 @@ #include #include -#if BOOST_WORKAROUND(_MSC_VER, >= 1200) +#if defined(_MSC_VER) # pragma once #endif @@ -104,17 +104,11 @@ template<> inline std::basic_string get_default_indeterminate_name() { return "indeterminate"; } -#if BOOST_WORKAROUND(BOOST_MSVC, < 1300) -// VC++ 6.0 chokes on the specialization below, so we're stuck without -// wchar_t support. What a pain. TODO: it might just need a the template -// parameter as function parameter... -#else -# ifndef BOOST_NO_WCHAR_T +#ifndef BOOST_NO_WCHAR_T /// Returns the wide character string L"indeterminate". template<> inline std::basic_string get_default_indeterminate_name() { return L"indeterminate"; } -# endif #endif // http://www.cantrip.org/locale.html