summaryrefslogtreecommitdiffhomepage
path: root/src/arch/nt64/crt_pe.c
diff options
context:
space:
mode:
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];
+}