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;
3737typedef pthread_mutex_t MutexHandle;
3838#endif
3939
40- #if defined(__CYGWIN__) || defined(__ANDROID__) || defined( __HAIKU__) || defined(__wasi__)
40+ #if defined(__CYGWIN__) || defined(__HAIKU__) || defined(__wasi__)
4141// At the moment CYGWIN pthreads implementation doesn't support the use of
4242// 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.
4645#define SWIFT_CONDITION_SUPPORTS_CONSTEXPR 0
4746#define SWIFT_MUTEX_SUPPORTS_CONSTEXPR 0
4847#define SWIFT_READWRITELOCK_SUPPORTS_CONSTEXPR 0
You can’t perform that action at this time.
0 commit comments