Commit 8b790281 by Jonathan Wakely Committed by Jonathan Wakely

Don't redefine _GLIBCXX_ASSERTIONS if already defined

	* include/bits/c++config (_GLIBCXX_ASSERTIONS): Avoid redefinition.

From-SVN: r244151
parent 6807f086
2017-01-06 Jonathan Wakely <jwakely@redhat.com>
* include/bits/c++config (_GLIBCXX_ASSERTIONS): Avoid redefinition.
PR libstdc++/78991
* include/bits/predefined_ops.h (_Iter_comp_iter, _Iter_comp_val)
(_Val_comp_iter, _Iter_equals_val, _Iter_pred, _Iter_comp_to_val)
......
......@@ -423,7 +423,7 @@ namespace std
#endif
// Debug Mode implies checking assertions.
#ifdef _GLIBCXX_DEBUG
#if defined(_GLIBCXX_DEBUG) && !defined(_GLIBCXX_ASSERTIONS)
# define _GLIBCXX_ASSERTIONS 1
#endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment