summaryrefslogtreecommitdiffhomepage
path: root/arch/nt64/src/crt_pe.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/nt64/src/crt_pe.c')
-rw-r--r--arch/nt64/src/crt_pe.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/nt64/src/crt_pe.c b/arch/nt64/src/crt_pe.c
new file mode 100644
index 0000000..0dc75a4
--- /dev/null
+++ b/arch/nt64/src/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];
+}