mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-07-03 13:31:18 +12:00
Use _Exit instead of exit under Linux (#204)
The best ExitProcess alternative for Linux is _Exit since it doesn't call exit handlers.
This commit is contained in:
parent
6cdb6eed17
commit
f032088902
3 changed files with 4 additions and 2 deletions
|
@ -47,6 +47,8 @@
|
|||
|
||||
#if BOOST_OS_WINDOWS
|
||||
#define exit(__c) ExitProcess(__c)
|
||||
#else
|
||||
#define exit(__c) _Exit(__c)
|
||||
#endif
|
||||
|
||||
#if BOOST_OS_LINUX || BOOST_OS_MACOS
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue