Commit 159824c
committed
[lldb/cmake] Normalize use of HAVE_LIBCOMPRESSION
I *think* this was the reason behind the failures in
2fd860c: the clang include tool showed the
Config.h headers as unused, and because the macro was referenced through an
`#ifdef`, its removal didn't cause build failures. Switching to
`#cmakedefine01` + `#if` should make sure this does not happen again.
According to D48977, the `#ifndef`+`#cmakedefine` patterns is due to some files
redefining the macro themselves. I no longer see any such files in the source
tree (there also were no files like that in the source tree at the revision
mentioned, but the macro *was* defined in the hand-maintained XCode project
we had at the time).1 parent f4fba20 commit 159824c
File tree
4 files changed
+8
-16
lines changed- lldb
- include/lldb/Host
- source/Plugins/Process/gdb-remote
4 files changed
+8
-16
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
27 | | - | |
28 | | - | |
| 26 | + | |
29 | 27 | | |
30 | 28 | | |
31 | 29 | | |
| |||
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
| 49 | + | |
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
| |||
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
80 | | - | |
| 80 | + | |
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
| |||
514 | 514 | | |
515 | 515 | | |
516 | 516 | | |
517 | | - | |
| 517 | + | |
518 | 518 | | |
519 | 519 | | |
520 | 520 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
227 | 227 | | |
228 | 228 | | |
229 | 229 | | |
230 | | - | |
| 230 | + | |
231 | 231 | | |
232 | 232 | | |
233 | 233 | | |
| |||
Lines changed: 3 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
| 44 | + | |
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| |||
1104 | 1104 | | |
1105 | 1105 | | |
1106 | 1106 | | |
1107 | | - | |
| 1107 | + | |
1108 | 1108 | | |
1109 | 1109 | | |
1110 | 1110 | | |
| |||
1114 | 1114 | | |
1115 | 1115 | | |
1116 | 1116 | | |
1117 | | - | |
1118 | | - | |
1119 | | - | |
1120 | 1117 | | |
1121 | 1118 | | |
1122 | 1119 | | |
| |||
1140 | 1137 | | |
1141 | 1138 | | |
1142 | 1139 | | |
1143 | | - | |
| 1140 | + | |
1144 | 1141 | | |
1145 | 1142 | | |
1146 | 1143 | | |
| |||
1150 | 1147 | | |
1151 | 1148 | | |
1152 | 1149 | | |
1153 | | - | |
1154 | | - | |
1155 | | - | |
1156 | 1150 | | |
1157 | 1151 | | |
1158 | 1152 | | |
| |||
0 commit comments