mirror of https://github.com/AxioDL/metaforce.git
windows signal set fix
This commit is contained in:
parent
4780960161
commit
6efe4417d7
|
@ -105,10 +105,9 @@ int main(int argc, const char** argv)
|
||||||
const char* term = getenv("TERM");
|
const char* term = getenv("TERM");
|
||||||
if (term && !strncmp(term, "xterm", 5))
|
if (term && !strncmp(term, "xterm", 5))
|
||||||
XTERM_COLOR = true;
|
XTERM_COLOR = true;
|
||||||
#endif
|
|
||||||
|
|
||||||
signal(SIGINT, SIGINTHandler);
|
|
||||||
signal(SIGWINCH, SIGWINCHHandler);
|
signal(SIGWINCH, SIGWINCHHandler);
|
||||||
|
#endif
|
||||||
|
signal(SIGINT, SIGINTHandler);
|
||||||
|
|
||||||
LogVisor::RegisterConsoleLogger();
|
LogVisor::RegisterConsoleLogger();
|
||||||
atSetExceptionHandler(AthenaExc);
|
atSetExceptionHandler(AthenaExc);
|
||||||
|
|
Loading…
Reference in New Issue