CVSROOT:        /cvs
Module name:    src
Changes by:     matt...@cvs.openbsd.org 2012/06/20 11:24:57

Modified files:
        gnu/gcc/gcc    : gthr-posix.c gthr-posix.h gthr-posix95.h 
        gnu/usr.bin/gcc/gcc: gthr-posix.h 

Log message:
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.

Reply via email to