diff --git a/include/yaml-cpp/traits.h b/include/yaml-cpp/traits.h index 46db01b..e9c42ad 100644 --- a/include/yaml-cpp/traits.h +++ b/include/yaml-cpp/traits.h @@ -17,8 +17,13 @@ namespace YAML template <> struct is_numeric { enum { value = true }; }; template <> struct is_numeric { enum { value = true }; }; template <> struct is_numeric { enum { value = true }; }; +#if defined(_MSC_VER) && (_MSC_VER < 1310) + template <> struct is_numeric <__int64> { enum { value = true }; }; + template <> struct is_numeric { enum { value = true }; }; +#else template <> struct is_numeric { enum { value = true }; }; template <> struct is_numeric { enum { value = true }; }; +#endif template <> struct is_numeric { enum { value = true }; }; template <> struct is_numeric { enum { value = true }; }; template <> struct is_numeric { enum { value = true }; };