From a7af47b7305b7d41693980c8e12168e77c14d79b Mon Sep 17 00:00:00 2001 From: Dane Springmeyer Date: Sun, 10 Mar 2013 12:56:31 -0700 Subject: [PATCH] enable snprintf for windows --- src/conversions.cpp | 4 ++++ 1 file changed, 4 insertions(+) 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; \