Merge pull request #454 from Flamefire/patch-1

Fix -Wundef for `_GLIBCXX_USE_DEPRECATED` on libstdc++ >= 4.6
This commit is contained in:
jzmaddock
2022-11-16 18:35:16 +00:00
committed by GitHub

View File

@ -259,7 +259,7 @@ extern "C" char *gets (char *__s);
# if !_GLIBCXX_DEPRECATED
# define BOOST_NO_AUTO_PTR
# endif
# elif !_GLIBCXX_USE_DEPRECATED
# elif !defined(_GLIBCXX_USE_DEPRECATED) || !_GLIBCXX_USE_DEPRECATED
# define BOOST_NO_AUTO_PTR
# define BOOST_NO_CXX98_BINDERS
# endif