Skip to content

Commit dbf6403

Browse files
committed
Clean up unused function
1 parent dfdae8e commit dbf6403

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

Sources/_CAsyncSequenceValidationSupport/_CAsyncSequenceValidationSupport.h

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -245,15 +245,3 @@ typedef SWIFT_CC(swift) void (*swift_task_enqueueGlobal_original)(JobRef _Nonnul
245245
SWIFT_EXPORT_FROM(swift_Concurrency)
246246
SWIFT_CC(swift) void (* _Nullable swift_task_enqueueGlobal_hook)(
247247
JobRef _Nonnull job, swift_task_enqueueGlobal_original _Nonnull original);
248-
249-
// Workaround for `macro 'pthread_join' unavailable: function like macros not supported`
250-
#if defined(__wasi__)
251-
252-
#include <pthread.h>
253-
254-
int swift_async_sequencey_pthread_join(pthread_t thread, void **value_ptr) {
255-
return pthread_join(thread, value_ptr);
256-
}
257-
258-
#endif
259-

0 commit comments

Comments
 (0)