Commit c6c4d4211b10f57e902c6ed8d054f0dcbe44eded

Ozkan Sezer 2022-01-11T11:33:02

pthread: disable SetThreadPriority for OS/2 too

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/thread/pthread/SDL_systhread.c b/src/thread/pthread/SDL_systhread.c
index b5ab82d..41184de 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