File tree Expand file tree Collapse file tree 3 files changed +14
-51
lines changed Expand file tree Collapse file tree 3 files changed +14
-51
lines changed Original file line number Diff line number Diff line change 33
33
#if !defined(_LIBCPP_HAS_NO_ATOMIC_HEADER)
34
34
# include < atomic>
35
35
#endif
36
- #if !defined(_LIBCPP_HAS_NO_THREADS)
37
- # include < barrier>
38
- #endif
36
+ #include < barrier>
39
37
#include < bit>
40
38
#include < bitset>
41
39
#include < cassert>
101
99
# include < fstream>
102
100
#endif
103
101
#include < functional>
104
- #if !defined(_LIBCPP_HAS_NO_THREADS)
105
- # include < future>
106
- #endif
102
+ #include < future>
107
103
#include < initializer_list>
108
104
#include < inttypes.h>
109
105
#if !defined(_LIBCPP_HAS_NO_LOCALIZATION)
120
116
# include < istream>
121
117
#endif
122
118
#include < iterator>
123
- #if !defined(_LIBCPP_HAS_NO_THREADS)
124
- # include < latch>
125
- #endif
119
+ #include < latch>
126
120
#include < limits>
127
121
#include < list>
128
122
#if !defined(_LIBCPP_HAS_NO_LOCALIZATION)
153
147
# include < regex>
154
148
#endif
155
149
#include < scoped_allocator>
156
- #if !defined(_LIBCPP_HAS_NO_THREADS)
157
- # include < semaphore>
158
- #endif
150
+ #include < semaphore>
159
151
#include < set>
160
- #if !defined(_LIBCPP_HAS_NO_THREADS)
161
- # include < shared_mutex>
162
- #endif
152
+ #include < shared_mutex>
163
153
#include < source_location>
164
154
#include < span>
165
155
#if !defined(_LIBCPP_HAS_NO_LOCALIZATION)
175
165
#include < stdint.h>
176
166
#include < stdio.h>
177
167
#include < stdlib.h>
178
- #if !defined(_LIBCPP_HAS_NO_THREADS)
179
- # include < stop_token>
180
- #endif
168
+ #include < stop_token>
181
169
#if !defined(_LIBCPP_HAS_NO_LOCALIZATION)
182
170
# include < streambuf>
183
171
#endif
192
180
#endif
193
181
#include < system_error>
194
182
#include < tgmath.h>
195
- #if !defined(_LIBCPP_HAS_NO_THREADS)
196
- # include < thread>
197
- #endif
183
+ #include < thread>
198
184
#include < tuple>
199
185
#include < type_traits>
200
186
#include < typeindex>
Original file line number Diff line number Diff line change @@ -23,9 +23,7 @@ module;
23
23
#if !defined(_LIBCPP_HAS_NO_ATOMIC_HEADER)
24
24
# include < atomic>
25
25
#endif
26
- #if !defined(_LIBCPP_HAS_NO_THREADS)
27
- # include < barrier>
28
- #endif
26
+ #include < barrier>
29
27
#include < bit>
30
28
#include < bitset>
31
29
#include < cassert>
@@ -76,9 +74,7 @@ module;
76
74
# include < fstream>
77
75
#endif
78
76
#include < functional>
79
- #if !defined(_LIBCPP_HAS_NO_THREADS)
80
- # include < future>
81
- #endif
77
+ #include < future>
82
78
#include < initializer_list>
83
79
#if !defined(_LIBCPP_HAS_NO_LOCALIZATION)
84
80
# include < iomanip>
@@ -94,9 +90,7 @@ module;
94
90
# include < istream>
95
91
#endif
96
92
#include < iterator>
97
- #if !defined(_LIBCPP_HAS_NO_THREADS)
98
- # include < latch>
99
- #endif
93
+ #include < latch>
100
94
#include < limits>
101
95
#include < list>
102
96
#if !defined(_LIBCPP_HAS_NO_LOCALIZATION)
@@ -123,23 +117,17 @@ module;
123
117
# include < regex>
124
118
#endif
125
119
#include < scoped_allocator>
126
- #if !defined(_LIBCPP_HAS_NO_THREADS)
127
- # include < semaphore>
128
- #endif
120
+ #include < semaphore>
129
121
#include < set>
130
- #if !defined(_LIBCPP_HAS_NO_THREADS)
131
- # include < shared_mutex>
132
- #endif
122
+ #include < shared_mutex>
133
123
#include < source_location>
134
124
#include < span>
135
125
#if !defined(_LIBCPP_HAS_NO_LOCALIZATION)
136
126
# include < sstream>
137
127
#endif
138
128
#include < stack>
139
129
#include < stdexcept>
140
- #if !defined(_LIBCPP_HAS_NO_THREADS)
141
- # include < stop_token>
142
- #endif
130
+ #include < stop_token>
143
131
#if !defined(_LIBCPP_HAS_NO_LOCALIZATION)
144
132
# include < streambuf>
145
133
#endif
@@ -152,9 +140,7 @@ module;
152
140
# include < syncstream>
153
141
#endif
154
142
#include < system_error>
155
- #if !defined(_LIBCPP_HAS_NO_THREADS)
156
- # include < thread>
157
- #endif
143
+ #include < thread>
158
144
#include < tuple>
159
145
#include < type_traits>
160
146
#include < typeindex>
Original file line number Diff line number Diff line change 31
31
"strstream" : "!defined(_LIBCPP_HAS_NO_LOCALIZATION)" ,
32
32
"syncstream" : "!defined(_LIBCPP_HAS_NO_LOCALIZATION)" ,
33
33
34
- # headers with #error directives
35
- "barrier" : "!defined(_LIBCPP_HAS_NO_THREADS)" ,
36
- "future" : "!defined(_LIBCPP_HAS_NO_THREADS)" ,
37
- "latch" : "!defined(_LIBCPP_HAS_NO_THREADS)" ,
38
- "semaphore" : "!defined(_LIBCPP_HAS_NO_THREADS)" ,
39
- "shared_mutex" : "!defined(_LIBCPP_HAS_NO_THREADS)" ,
40
- "stop_token" : "!defined(_LIBCPP_HAS_NO_THREADS)" ,
41
- "thread" : "!defined(_LIBCPP_HAS_NO_THREADS)" ,
42
-
43
34
# headers with #error directives
44
35
"wchar.h" : "!defined(_LIBCPP_HAS_NO_WIDE_CHARACTERS)" ,
45
36
"wctype.h" : "!defined(_LIBCPP_HAS_NO_WIDE_CHARACTERS)" ,
You can’t perform that action at this time.
0 commit comments