Skip to content

Commit f811692

Browse files
Guard dlfcn.h include for WASI
1 parent 1f06a79 commit f811692

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib/public/Concurrency/AsyncLet.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
#include "AsyncCall.h"
2626
#include "Debug.h"
2727

28-
#if !defined(_WIN32)
28+
#if !defined(_WIN32) && !defined(__wasi__)
2929
#include <dlfcn.h>
3030
#endif
3131

0 commit comments

Comments
 (0)