CROSS_TO_WASM build fix
A couple of option processing functions, one of which was called in file.c, were recently added to sys/unix/unixmain.c, but the wasm build does not include unixmain.c, it uses sys/libnh/libnhmain.c. Transcribe the functions into sys/libnh/libnhmain.c. Also, do not #include "wintty.h" for NOTTYGRAPHICS builds.
This commit is contained in:
@@ -11,7 +11,9 @@
|
||||
|
||||
#define NEED_VARARGS
|
||||
#include "hack.h"
|
||||
#if defined(TTY_GRAPHICS) && !defined(NOTTYGRAPHICS)
|
||||
#include "wintty.h"
|
||||
#endif
|
||||
|
||||
/*
|
||||
* The distinctions here are not BSD - rest but rather USG - rest, as
|
||||
|
||||
Reference in New Issue
Block a user