summaryrefslogtreecommitdiffhomepage
path: root/arch/nt64
diff options
context:
space:
mode:
Diffstat (limited to 'arch/nt64')
-rw-r--r--arch/nt64/bits/fcntl.h1
-rw-r--r--arch/nt64/src/crt_glue.c3
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/nt64/bits/fcntl.h b/arch/nt64/bits/fcntl.h
index 9977713..1b88ad3 100644
--- a/arch/nt64/bits/fcntl.h
+++ b/arch/nt64/bits/fcntl.h
@@ -15,6 +15,7 @@
#define O_DIRECT 040000
#define O_LARGEFILE 0
#define O_NOATIME 01000000
+#define O_PATH 010000000
#define O_TMPFILE 020200000
#define O_NDELAY O_NONBLOCK
diff --git a/arch/nt64/src/crt_glue.c b/arch/nt64/src/crt_glue.c
index e621fdc..2913b19 100644
--- a/arch/nt64/src/crt_glue.c
+++ b/arch/nt64/src/crt_glue.c
@@ -37,8 +37,7 @@ void __init_tls (size_t * auxv)
T.pt.locale = &libc.global_locale;
T.pt.tid = __syscall(SYS_set_tid_address, &T.pt.tid);
- libc.can_do_threads = 1;
- libc.has_thread_pointer = 1;
+ libc.can_do_threads = 1;
libc.tls_size = sizeof(struct __tls);
};