summaryrefslogtreecommitdiffhomepage
path: root/src/arch/nt64/crt_pe.c
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2019-01-07 07:51:27 -0500
committermidipix <writeonce@midipix.org>2019-01-09 22:43:15 -0500
commit2f2b1c17cb9e6db0cacca52765f8bf701798ef18 (patch)
tree4d4be0b74596a5ecb3f0eed740a48db9f233e617 /src/arch/nt64/crt_pe.c
parent6f13b9b0fc0d920aa9c52ba202a85554a0788f5c (diff)
downloadmmglue-2f2b1c17cb9e6db0cacca52765f8bf701798ef18.tar.bz2
mmglue-2f2b1c17cb9e6db0cacca52765f8bf701798ef18.tar.xz
mmglue: moved arch/nt{32|64}/src --> src/arch/nt{32|64}.
Diffstat (limited to 'src/arch/nt64/crt_pe.c')
-rw-r--r--src/arch/nt64/crt_pe.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/arch/nt64/crt_pe.c b/src/arch/nt64/crt_pe.c
new file mode 100644
index 0000000..0dc75a4
--- /dev/null
+++ b/src/arch/nt64/crt_pe.c
@@ -0,0 +1,7 @@
+#include "pthread_impl.h"
+#include <threads.h>
+
+void * __pthread_getspecific_impl(pthread_key_t k)
+{
+ return (__pthread_self())->tsd[k];
+}