Skip to content

Commit 9f84045

Browse files
committed
Added option to disable warning, since it looks dirty.
1 parent d076656 commit 9f84045

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utility/polymorphy.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
# error "BOOST_VERSION macro undefined, even though boost/version.hpp is included (broken boost installation?)"
1414
#endif // BOOST_VERSION
1515

16-
#if BOOST_VERSION < 105600 && !defined(__BORLANDC__)
16+
#if BOOST_VERSION < 105600 && !defined(__BORLANDC__) && !defined(JS_DISABLE_BOOST_WARNING)
1717
# warning "Polymorphic adaptation is disabled, because the boost version is too old."
1818
# define DISABLE_POLY_JSON
1919
#else

0 commit comments

Comments
 (0)