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 9f84045 commit 39ae45fCopy full SHA for 39ae45f
utility/polymorphy.hpp
@@ -13,8 +13,10 @@
13
# error "BOOST_VERSION macro undefined, even though boost/version.hpp is included (broken boost installation?)"
14
#endif // BOOST_VERSION
15
16
-#if BOOST_VERSION < 105600 && !defined(__BORLANDC__) && !defined(JS_DISABLE_BOOST_WARNING)
17
-# warning "Polymorphic adaptation is disabled, because the boost version is too old."
+#if BOOST_VERSION < 105600 && !defined(__BORLANDC__)
+# ifndef JS_DISABLE_BOOST_WARNING
18
+# warning "Polymorphic adaptation is disabled, because the boost version is too old."
19
+# endif
20
# define DISABLE_POLY_JSON
21
#else
22
# include <boost/type_index.hpp>
0 commit comments