blob: 2daf73b5b58d17627ef293882e929b1db764e8f9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
https://bugs.gentoo.org/876895
--- a/gcc/c-family/c-cppbuiltin.cc
+++ b/gcc/c-family/c-cppbuiltin.cc
@@ -957,6 +957,10 @@ c_cpp_builtins (cpp_reader *pfile)
cpp_define (pfile, "__cpp_rtti=199711L");
}
+ #ifdef DEF_GENTOO_GLIBCXX_ASSERTIONS
+ cpp_define (pfile, "_GLIBCXX_ASSERTIONS");
+ #endif
+
if (cxx_dialect >= cxx11)
cpp_define (pfile, "__GXX_EXPERIMENTAL_CXX0X__");
|