mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2026-10-08 06:36:01 +00:00
fix atexit impl
This commit is contained in:
@@ -60,7 +60,9 @@
|
|||||||
#include <cxxabi.h>
|
#include <cxxabi.h>
|
||||||
#include <__thread/support.h>
|
#include <__thread/support.h>
|
||||||
# define STUB_WEAK(name) extern "C" void name() { printf("called " #name); asm volatile("ud2"); }
|
# 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(__assert)
|
||||||
STUB_WEAK(ZSTD_trace_compress_begin)
|
STUB_WEAK(ZSTD_trace_compress_begin)
|
||||||
STUB_WEAK(ZSTD_trace_compress_end)
|
STUB_WEAK(ZSTD_trace_compress_end)
|
||||||
|
|||||||
Reference in New Issue
Block a user