enable snprintf for windows
This commit is contained in:
parent
210840721f
commit
a7af47b730
1 changed files with 4 additions and 0 deletions
|
@ -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; \
|
||||||
|
|
Loading…
Reference in a new issue