From c6c4d4211b10f57e902c6ed8d054f0dcbe44eded Mon Sep 17 00:00:00 2001 From: Ozkan Sezer Date: Tue, 11 Jan 2022 11:33:02 +0300 Subject: [PATCH] pthread: disable SetThreadPriority for OS/2 too --- src/thread/pthread/SDL_systhread.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/thread/pthread/SDL_systhread.c b/src/thread/pthread/SDL_systhread.c index b5ab82dbf..41184de52 100644 --- a/src/thread/pthread/SDL_systhread.c +++ b/src/thread/pthread/SDL_systhread.c @@ -186,7 +186,7 @@ SDL_ThreadID(void) int SDL_SYS_SetThreadPriority(SDL_ThreadPriority priority) { -#if __NACL__ || __RISCOS__ +#if __NACL__ || __RISCOS__ || __OS2__ /* FIXME: Setting thread priority does not seem to be supported in NACL */ return 0; #else