mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-04-10 03:18:55 +02:00
try fix musl 2
This commit is contained in:
parent
ad8d6de8bc
commit
73e3f387cc
1 changed files with 5 additions and 9 deletions
14
externals/ps4sup/stub.cpp
vendored
14
externals/ps4sup/stub.cpp
vendored
|
|
@ -9,7 +9,11 @@
|
|||
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(ZSTD_trace_compress_begin)
|
||||
|
|
@ -20,14 +24,6 @@ STUB_WEAK(ZSTD_trace_decompress_end)
|
|||
FILE* __stderrp = stdout;
|
||||
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
|
||||
|
||||
// THIS MAKES STD::COUT AND SUCH WORK :)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue