diff options
author | 2012-06-20 17:24:57 +0000 | |
---|---|---|
committer | 2012-06-20 17:24:57 +0000 | |
commit | f4362409c0c118161fdaa2bb4d61a5fa146a2025 (patch) | |
tree | 33f7f4ba8c5cea4ed207364c2eac8e95885132b8 /sys/kern/subr_hibernate.c | |
parent | With MP rthread setups, we cannot remove the X permission from the GOT (diff) | |
download | wireguard-openbsd-f4362409c0c118161fdaa2bb4d61a5fa146a2025.tar.xz wireguard-openbsd-f4362409c0c118161fdaa2bb4d61a5fa146a2025.zip |
Fix GCC's use of _POSIX_PRIORITY_SCHEDULING and
_POSIX_THREAD_PRIORITY_SCHEDULING. POSIX 2001 states that they can be
defined to -1 to indicate that the feature is not supported (which is
how we define them), so it's not okay to just check whether or not
they're defined.
Arguably, SUSv2 allows GCC's usage, but we don't special case these
feature flags for SUSv2, and these files need to be compilable in BSD
and POSIX compat modes anyway.
From Brad.
Diffstat (limited to 'sys/kern/subr_hibernate.c')
0 files changed, 0 insertions, 0 deletions