Skip to content

Commit 8df2a3b

Browse files
Define wasi-libc emulation macros in modulemap
to avoid getting failures when including signal.h through CoreFoundation.h and "import Foundation"
1 parent e9d7827 commit 8df2a3b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

CoreFoundation/Base.subproj/static/wasm32-unknown-wasi.modulemap

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
module CoreFoundation [extern_c] [system] {
44
umbrella header "CoreFoundation.h"
55
explicit module CFPlugInCOM { header "CFPlugInCOM.h" }
6+
config_macros _WASI_EMULATED_MMAN, _WASI_EMULATED_SIGNAL, _WASI_EMULATED_PROCESS_CLOCKS
67

78
link "icui18n"
89
}

0 commit comments

Comments
 (0)