Merge branch 'unistd-def' into 'master'

Define feature macros in unistd

See merge request redox-os/relibc!1085
This commit is contained in:
Jeremy Soller
2026-03-13 15:04:11 -06:00
+11
View File
@@ -2,7 +2,18 @@
#define _BITS_UNISTD_H
#define _POSIX_VERSION 200809L
#define _POSIX_BARRIERS 202405L
#define _POSIX_MONOTONIC_CLOCK 200112L
#define _POSIX_REALTIME_SIGNALS 202405L
#define _POSIX_SEMAPHORES 200112L
#define _POSIX_SHELL 1
#define _POSIX_SHARED_MEMORY_OBJECTS 200112L
#define _POSIX_THREADS 202405L
#define _POSIX_THREAD_ATTR_STACKADDR 202405L
#define _POSIX_THREAD_ATTR_STACKSIZE 202405L
#define _POSIX_TIMEOUTS 202405L
#define _POSIX_TIMERS 202405L
#define _XOPEN_SHM 1
#define _XOPEN_VERSION 700L
#endif