_POSIX_C_SOURCE-related problems
Ramiro Polla
ramiro.polla@gmail.com
Tue Sep 30 00:10:00 GMT 2008
Hello,
On Mon, Sep 29, 2008 at 7:55 PM, Ross Johnson
<Ross.Johnson@homemail.com.au> wrote:
> This came up recently and a temporary fix was placed in CVS (sched.h).
Hmm... I wonder how I missed that thread [0].
> Really though, the PTW32_LEVEL stuff needs to be reviewed and appears to be
> incorrect, i.e. the line in both sched.h and pthread.h
>
> #if defined(_POSIX_C_SOURCE) && _POSIX_C_SOURCE >= 199309
>
> is setting PTW32_LEVEL equal to 1, which is wrong for you (should be 3).
Thanks,
Ramiro Polla
[0] http://sourceware.org/ml/pthreads-win32/2008/msg00045.html
More information about the Pthreads-win32
mailing list