2
0
mirror of https://github.com/boostorg/parser.git synced 2026-01-19 04:22:13 +00:00

Don't include <version>, since it turns out that it's a C++20 header. Who

knew?
This commit is contained in:
Zach Laine
2024-03-27 00:55:54 -05:00
parent 7980c98222
commit a49c9521b5

View File

@@ -14,9 +14,11 @@
#include <boost/parser/detail/text/unpack.hpp>
#include <version>
#if defined(__cpp_lib_to_chars)
#if __has_include(<charconv>)
#include <charconv>
#endif
#if defined(__cpp_lib_to_chars)
#define BOOST_PARSER_HAVE_STD_CHARCONV
#define BOOST_PARSER_NUMERIC_NS std_charconv
#elif __has_include(<boost/charconv.hpp>)