History log of /openbsd/gnu/gcc/gcc/gthr-posix.c (Results 1 – 2 of 2)
Revision Date Author Comments
# f4362409 20-Jun-2012 matthew <matthew@openbsd.org>

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 def

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.

show more ...


# 404b540a 15-Oct-2009 robert <robert@openbsd.org>

import of gcc-4.2.1, the last gcc release under GPLv2