Commit b9ac2fa
committed
use correct definitions in debug mode with libc++ and libstdc++
- llvm suggest we should use _LIBCPP_HARDENING_MODE rather than
_LIBCPP_ENABLE_ASSERTIONS and they are about to remove
_LIBCPP_ENABLE_ASSERTIONS from llvm's sources at all, so we need to
prepare
- libstdc++ uses _GLIBCXX_ASSERTIONS, libc++ by llvm uses
_LIBCPP_HARDENING_MODE, so let's use them separately
Signed-off-by: Denis Pronin <dannftk@yandex.ru>1 parent 0006fa4 commit b9ac2fa
1 file changed
Lines changed: 17 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
135 | 135 | | |
136 | 136 | | |
137 | 137 | | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
138 | 154 | | |
139 | 155 | | |
140 | 156 | | |
141 | | - | |
| 157 | + | |
142 | 158 | | |
143 | 159 | | |
144 | 160 | | |
| |||
0 commit comments