This is the mail archive of the
pthreads-win32@sourceware.org
mailing list for the pthreas-win32 project.
Re: _POSIX_C_SOURCE-related problems
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