mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2026-09-11 06:17:41 +00:00
try fix musl 2
This commit is contained in:
Vendored
+5
-9
@@ -9,7 +9,11 @@
|
|||||||
asm volatile("ud2"); \
|
asm volatile("ud2"); \
|
||||||
}
|
}
|
||||||
|
|
||||||
extern "C" void __cxa_thread_atexit_impl() {}
|
extern "C" int __pthread_cxa_finalize();
|
||||||
|
extern "C" void __cxa_thread_atexit_impl() {
|
||||||
|
//printf("__cxa_thread_atexit_impl called!\n");
|
||||||
|
//__pthread_cxa_finalize();
|
||||||
|
}
|
||||||
|
|
||||||
STUB_WEAK(__assert)
|
STUB_WEAK(__assert)
|
||||||
STUB_WEAK(ZSTD_trace_compress_begin)
|
STUB_WEAK(ZSTD_trace_compress_begin)
|
||||||
@@ -20,14 +24,6 @@ STUB_WEAK(ZSTD_trace_decompress_end)
|
|||||||
FILE* __stderrp = stdout;
|
FILE* __stderrp = stdout;
|
||||||
FILE* __stdinp = stdin;
|
FILE* __stdinp = stdin;
|
||||||
|
|
||||||
extern "C" {
|
|
||||||
struct _RuneLocale;
|
|
||||||
thread_local const _RuneLocale *_ThreadRuneLocale = NULL;
|
|
||||||
const _RuneLocale *_CurrentRuneLocale = NULL;
|
|
||||||
int __isthreaded = 0;
|
|
||||||
int __mb_sb_limit = 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
#undef STUB_WEAK
|
#undef STUB_WEAK
|
||||||
|
|
||||||
// THIS MAKES STD::COUT AND SUCH WORK :)
|
// THIS MAKES STD::COUT AND SUCH WORK :)
|
||||||
|
|||||||
Reference in New Issue
Block a user