Fix -Wundef for _GLIBCXX_USE_DEPRECATED on libstdc++ >= 4.6

This commit is contained in:
Alexander Grund
2022-11-12 13:32:07 +01:00
committed by GitHub
parent a7276f0397
commit 3a8ecbb390

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