diff --git a/src/conversions.cpp b/src/conversions.cpp index efd51f58c..e09a80a7e 100644 --- a/src/conversions.cpp +++ b/src/conversions.cpp @@ -28,6 +28,10 @@ #include +#if _MSC_VER +#define snprintf _snprintf +#endif + #define BOOST_SPIRIT_AUTO(domain_, name, expr) \ typedef boost::proto::result_of:: \ deep_copy::type name##_expr_type; \