File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -50,7 +50,11 @@ typedef long int __swift_ssize_t;
50
50
// This declaration might not be universally correct.
51
51
// We verify its correctness for the current platform in the runtime code.
52
52
#if defined(__linux__)
53
+ # if defined(__ANDROID__)
54
+ typedef __swift_uint16_t __swift_mode_t ;
55
+ # else
53
56
typedef __swift_uint32_t __swift_mode_t ;
57
+ # endif
54
58
#elif defined(__APPLE__)
55
59
typedef __swift_uint16_t __swift_mode_t ;
56
60
#elif defined(_WIN32)
@@ -179,10 +183,12 @@ long double _stdlib_lgammal_r(long double x, int *psigngam);
179
183
180
184
// TLS - thread local storage
181
185
182
- #if defined(__ANDROID__)
186
+ #if defined(__linux__)
187
+ # if defined(__ANDROID__)
183
188
typedef int __swift_thread_key_t ;
184
- #elif defined(__linux__)
189
+ # else
185
190
typedef unsigned int __swift_thread_key_t ;
191
+ # endif
186
192
#elif defined(__FreeBSD__)
187
193
typedef int __swift_thread_key_t ;
188
194
#elif defined(_WIN32)
You can’t perform that action at this time.
0 commit comments