diff --git a/src/libCom/osi/os/posix/osdThread.c b/src/libCom/osi/os/posix/osdThread.c index e20c9b6e0..de987549e 100644 --- a/src/libCom/osi/os/posix/osdThread.c +++ b/src/libCom/osi/os/posix/osdThread.c @@ -46,8 +46,9 @@ static int mutexLock(pthread_mutex_t *id) } } -/* Until this can be demonstrated to work leave it undefined*/ +#if defined DONT_USE_POSIX_THREAD_PRIORITY_SCHEDULING #undef _POSIX_THREAD_PRIORITY_SCHEDULING +#endif typedef struct commonAttr{ pthread_attr_t attr;