We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0a7860f commit d7b696aCopy full SHA for d7b696a
include/boost/json/detail/config.hpp
@@ -260,6 +260,8 @@
260
# else
261
# error The Boost.JSON library could not determine the endianness of this platform. Define either BOOST_JSON_BIG_ENDIAN or BOOST_JSON_LITTLE_ENDIAN.
262
# endif
263
+#elif defined(BOOST_JSON_BIG_ENDIAN) && defined(BOOST_JSON_LITTLE_ENDIAN)
264
+# error Both BOOST_JSON_BIG_ENDIAN and BOOST_JSON_LITTLE_ENDIAN are defined. You should define only one of them.
265
#endif
266
267
#if defined(__cpp_constinit) && __cpp_constinit >= 201907L
0 commit comments