mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-04-10 20:38:57 +02:00
fix atexit impl
This commit is contained in:
parent
6dff84150e
commit
b6b8918f26
1 changed files with 3 additions and 1 deletions
|
|
@ -55,7 +55,9 @@
|
|||
#include <cxxabi.h>
|
||||
#include <__thread/support.h>
|
||||
# define STUB_WEAK(name) extern "C" void name() { printf("called " #name); asm volatile("ud2"); }
|
||||
void *__cxa_thread_atexit_impl = nullptr;
|
||||
extern "C" void __cxa_thread_atexit_impl() {
|
||||
//printf("atexit called");
|
||||
}
|
||||
STUB_WEAK(__assert)
|
||||
STUB_WEAK(ZSTD_trace_compress_begin)
|
||||
STUB_WEAK(ZSTD_trace_compress_end)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue