* include/bits/c++config (_GLIBCXX_ASSERTIONS): Avoid redefinition.
From-SVN: r244151
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)
#endif
// Debug Mode implies checking assertions.
-#ifdef _GLIBCXX_DEBUG
+#if defined(_GLIBCXX_DEBUG) && !defined(_GLIBCXX_ASSERTIONS)
# define _GLIBCXX_ASSERTIONS 1
#endif