We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f1b9420 commit e412d0cCopy full SHA for e412d0c
include/boost/json/detail/config.hpp
@@ -266,6 +266,8 @@
266
# else
267
# error The Boost.JSON library could not determine the endianness of this platform. Define either BOOST_JSON_BIG_ENDIAN or BOOST_JSON_LITTLE_ENDIAN.
268
# endif
269
+#elif defined(BOOST_JSON_BIG_ENDIAN) && defined(BOOST_JSON_LITTLE_ENDIAN)
270
+# error Both BOOST_JSON_BIG_ENDIAN and BOOST_JSON_LITTLE_ENDIAN are defined. You should define only one of them.
271
#endif
272
273
BOOST_JSON_NS_BEGIN
0 commit comments