about summary refs log tree commit diff stats
path: root/src/wrapped/wrappedlibpthread.c
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2024-11-04 15:06:44 +0100
committerptitSeb <sebastien.chev@gmail.com>2024-11-04 15:06:44 +0100
commit6c53e12b4999860df55d500288a44f2cea0c3942 (patch)
tree8dc4522de11968c42c6b17660feb08e7777f5b94 /src/wrapped/wrappedlibpthread.c
parent01c9157fceb3ae0ef97effdb323c32d14e0f7be1 (diff)
downloadbox64-6c53e12b4999860df55d500288a44f2cea0c3942.tar.gz
box64-6c53e12b4999860df55d500288a44f2cea0c3942.zip
[WRAPPER] merged android naming so no more ifdef is needed
Diffstat (limited to 'src/wrapped/wrappedlibpthread.c')
-rw-r--r--src/wrapped/wrappedlibpthread.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/wrapped/wrappedlibpthread.c b/src/wrapped/wrappedlibpthread.c
index 2d25d66c..1effff50 100644
--- a/src/wrapped/wrappedlibpthread.c
+++ b/src/wrapped/wrappedlibpthread.c
@@ -18,12 +18,9 @@
 #include "box64context.h"
 #include "librarian.h"
 
-const char* libpthreadName = 
-#ifdef ANDROID
-    "libc.so";
-#else
-    "libpthread.so.0";
-#endif
+const char* libpthreadName = "libpthread.so.0";
+#define ALTNAME "libc.so"
+
 #define LIBNAME libpthread
 
 //EXPORT int my_pthread_attr_setschedparam(x64emu_t* emu, void* attr, void* param)