From e9323b40f1fa86124fa4ceaac67a20a1d3fedff4 Mon Sep 17 00:00:00 2001 From: Benoit Germain Date: Fri, 29 Nov 2013 21:46:49 +0100 Subject: Fix a macro check --- src/threading.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/threading.c b/src/threading.c index ad5b473..d50207e 100644 --- a/src/threading.c +++ b/src/threading.c @@ -525,7 +525,7 @@ bool_t THREAD_WAIT_IMPL( THREAD_T *ref, double secs) // #include -# if ((defined(__MINGW32__) || defined(__MINGW64__)) && pthread_attr_setschedpolicy == ENOTSUP) +# if ((defined(__MINGW32__) || defined(__MINGW64__)) && pthread_attr_setschedpolicy( A, S) == ENOTSUP) // from the mingw-w64 team: // Well, we support pthread_setschedparam by which you can specify // threading-policy. Nevertheless, yes we lack this function. In -- cgit v1.2.3-55-g6feb