Răsfoiți Sursa

pthread: disable SetThreadPriority for OS/2 too

Ozkan Sezer 3 ani în urmă
părinte
comite
c6c4d4211b
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      src/thread/pthread/SDL_systhread.c

+ 1 - 1
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