File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -37,12 +37,11 @@ typedef os_unfair_lock MutexHandle;
37
37
typedef pthread_mutex_t MutexHandle;
38
38
#endif
39
39
40
- #if defined(__CYGWIN__) || defined(__ANDROID__) || defined( __HAIKU__) || defined(__wasi__)
40
+ #if defined(__CYGWIN__) || defined(__HAIKU__) || defined(__wasi__)
41
41
// At the moment CYGWIN pthreads implementation doesn't support the use of
42
42
// constexpr for static allocation versions. The way they define things
43
- // results in a reinterpret_cast which violates constexpr. Similarly, Android's
44
- // pthread implementation makes use of volatile attributes that prevent it from
45
- // being marked as constexpr. WASI currently doesn't support threading/locking at all.
43
+ // results in a reinterpret_cast which violates constexpr.
44
+ // WASI currently doesn't support threading/locking at all.
46
45
#define SWIFT_CONDITION_SUPPORTS_CONSTEXPR 0
47
46
#define SWIFT_MUTEX_SUPPORTS_CONSTEXPR 0
48
47
#define SWIFT_READWRITELOCK_SUPPORTS_CONSTEXPR 0
You can’t perform that action at this time.
0 commit comments