diff --git a/sys/unix/unixmain.c b/sys/unix/unixmain.c index 6c1f67b56..87e255064 100644 --- a/sys/unix/unixmain.c +++ b/sys/unix/unixmain.c @@ -45,17 +45,7 @@ static void NDECL(wd_message); static boolean wiz_error_flag = FALSE; static struct passwd *NDECL(get_unix_pw); -#if defined(CROSSCOMPILE_TARGET) && defined(CROSS_TO_WASM) -/* for cross-compiling to WebAssembly (WASM) */ -#include -/* if WebAssembly, export this API and don't optimize it out */ -#define KEEP EMSCRIPTEN_KEEPALIVE -#else -#define KEEP -#endif - - -int KEEP +int main(argc, argv) int argc; char *argv[];