Skip to content

Commit c4919c0

Browse files
[wasm] Remove implicit _WASI_EMULATED_X macro definition in ClangImporter
1 parent 325598f commit c4919c0

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

lib/ClangImporter/ClangImporter.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -663,10 +663,6 @@ importer::getNormalInvocationArguments(
663663
}
664664

665665
if (triple.isOSWASI()) {
666-
invocationArgStrs.insert(invocationArgStrs.end(),
667-
{"-D_WASI_EMULATED_MMAN",
668-
"-D_WASI_EMULATED_SIGNAL",
669-
"-D_WASI_EMULATED_PROCESS_CLOCKS"});
670666
SmallString<128> buffer;
671667
if (auto path = getWasiLibcModuleMapPath(searchPathOpts, triple, buffer)) {
672668
invocationArgStrs.push_back((Twine("-fmodule-map-file=") + *path).str());

0 commit comments

Comments
 (0)