X-Git-Url: http://nsz.repo.hu/git/?p=musl;a=blobdiff_plain;f=include%2Funistd.h;h=2791c3de82c2b10879ecd1736e6cee790e743e8f;hp=9ac4765aa4815f564ec3e0fd909b2a67b471c360;hb=3d3903fa5bd18f66c4f22fb766615d84b9519aa0;hpb=2e3648b85db1c71bfc684233f7a521b0d4bbeb20 diff --git a/include/unistd.h b/include/unistd.h index 9ac4765a..2791c3de 100644 --- a/include/unistd.h +++ b/include/unistd.h @@ -149,7 +149,7 @@ void swab(const void *__restrict, void *__restrict, ssize_t); #endif #if defined(_GNU_SOURCE) || defined(_BSD_SOURCE) \ - || (defined(_XOPEN_SOURCE) && _XOPEN_SOURCE < 700) + || (defined(_XOPEN_SOURCE) && _XOPEN_SOURCE+0 < 700) int usleep(unsigned); unsigned ualarm(unsigned, unsigned); #endif @@ -225,6 +225,7 @@ void syncfs(int); #define _POSIX_THREAD_SAFE_FUNCTIONS _POSIX_VERSION #define _POSIX_THREAD_ATTR_STACKADDR _POSIX_VERSION #define _POSIX_THREAD_ATTR_STACKSIZE _POSIX_VERSION +#define _POSIX_THREAD_PRIORITY_SCHEDULING _POSIX_VERSION #define _POSIX_TIMERS _POSIX_VERSION #define _POSIX_TIMEOUTS _POSIX_VERSION #define _POSIX_MONOTONIC_CLOCK _POSIX_VERSION