Commit cd44260
authored
[libc++][test] Get rid of warning on macOS about undefined macro (#156785)
`TEST_CLANG_VER` is not defined for Apple Clang, so it's better to
detect whether the macro is defined to get rid of warnings due to
`-Wundef`. This also corresponds to the guard in `<mutex>`.1 parent 3821885 commit cd44260
File tree
1 file changed
+1
-1
lines changed- libcxx/test/extensions/clang/thread/thread.mutex
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
| 34 | + | |
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| |||
0 commit comments