Skip to content

Commit

Permalink
Fixed bug 5169 - Can not build current sources because of recent thre…
Browse files Browse the repository at this point in the history
…ad management changes

Manuel Alfayate Corchete

I'm trying to build SDL2 with threads support here in GNU/Linux, both X86 and ARM, and it does not seem to be possible ATM:


/home/manuel/src/SDLLLL/src/core/linux/SDL_threadprio.c:233:26: error: 'rtkit_max_realtime_priority' undeclared (first use in this function)
  • Loading branch information
slouken committed Jun 4, 2020
1 parent 958c428 commit cced5eb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/core/linux/SDL_threadprio.c
Expand Up @@ -181,6 +181,10 @@ rtkit_setpriority_realtime(pid_t thread, int rt_priority)
}
return SDL_TRUE;
}
#else

#define rtkit_max_realtime_priority 99

#endif /* dbus */
#endif /* threads */

Expand Down

0 comments on commit cced5eb

Please sign in to comment.