This repository was archived by the owner on Nov 8, 2023. It is now read-only.
Commit a642197
committed
Remove guards on constants and types.
The only remaining guard is the one on the posix_madvise constants,
because that's one where we had a bug filed for breaking some 3p code
where the presence of those macros was being used as a proxy for
runtime availability of posix_madvise. That's wrong, but it's in the
wild so we can't do much about it. That wrong code is still in
upstream boost:
https://github.com/boostorg/interprocess/blob/9fc4ee7dd7277d86c691921007856aca99c3c1ac/include/boost/interprocess/mapped_region.hpp#L811-L814
Bug: android/ndk#1652
Test: treehugger
Change-Id: If5762422524e1667014b4b4ce6a2a2700dd4aff01 parent db6719f commit a642197
3 files changed
+0
-16
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | | - | |
47 | 46 | | |
48 | 47 | | |
49 | 48 | | |
50 | 49 | | |
51 | 50 | | |
52 | 51 | | |
53 | 52 | | |
54 | | - | |
55 | 53 | | |
56 | | - | |
57 | 54 | | |
58 | | - | |
59 | 55 | | |
60 | 56 | | |
61 | 57 | | |
| |||
91 | 87 | | |
92 | 88 | | |
93 | 89 | | |
94 | | - | |
95 | 90 | | |
96 | 91 | | |
97 | 92 | | |
98 | 93 | | |
99 | 94 | | |
100 | 95 | | |
101 | 96 | | |
102 | | - | |
103 | 97 | | |
104 | 98 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
96 | | - | |
97 | 96 | | |
98 | 97 | | |
99 | 98 | | |
100 | 99 | | |
101 | 100 | | |
102 | 101 | | |
103 | | - | |
104 | 102 | | |
105 | 103 | | |
106 | 104 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
73 | | - | |
74 | 73 | | |
75 | | - | |
76 | 74 | | |
77 | 75 | | |
78 | 76 | | |
| |||
246 | 244 | | |
247 | 245 | | |
248 | 246 | | |
249 | | - | |
250 | 247 | | |
251 | 248 | | |
252 | 249 | | |
253 | 250 | | |
254 | | - | |
255 | 251 | | |
256 | | - | |
257 | 252 | | |
258 | 253 | | |
259 | 254 | | |
260 | | - | |
261 | 255 | | |
262 | | - | |
263 | 256 | | |
264 | 257 | | |
265 | 258 | | |
266 | 259 | | |
267 | 260 | | |
268 | | - | |
269 | 261 | | |
270 | 262 | | |
271 | 263 | | |
| |||
0 commit comments