enable snprintf for windows

This commit is contained in:
Dane Springmeyer 2013-03-10 12:56:31 -07:00
parent 210840721f
commit a7af47b730

View file

@ -28,6 +28,10 @@
#include <boost/spirit/include/qi.hpp> #include <boost/spirit/include/qi.hpp>
#if _MSC_VER
#define snprintf _snprintf
#endif
#define BOOST_SPIRIT_AUTO(domain_, name, expr) \ #define BOOST_SPIRIT_AUTO(domain_, name, expr) \
typedef boost::proto::result_of:: \ typedef boost::proto::result_of:: \
deep_copy<BOOST_TYPEOF(expr)>::type name##_expr_type; \ deep_copy<BOOST_TYPEOF(expr)>::type name##_expr_type; \