unixmain and libnethackmain diverged in the updated PR

put unixmain back the way it was, now that libnethackmain is in the tree after all.
This commit is contained in:
nhmall
2020-10-04 20:14:45 -04:00
parent c3683eaa9b
commit 7bf5172f2e

View File

@@ -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 <emscripten/emscripten.h>
/* 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[];