kumquat-buildroot/package/sdl2
Fabrice Fontaine 0d896cf007 sdl2: fix build with --disable-threads
SDL_LinuxSetThreadPriority() has been added since version 2.0.9 and
f25a7fa870

However, this function is used in src/dynapi/SDL_dynapi_procs.h even
when SDL_THREADS_DISABLED

However, when SDL_THREADS_DISABLED is set, SDL_LinuxSetThreadPriority is
not defined because thread/pthread/SDL_systhread.c is not built

So check SDL_THREADS_DISABLED in addition to __LINUX__

Fixes:
 - http://autobuild.buildroot.org/results/539cb9ab6c605dc6be73ebe90debab1a998f2451

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2018-11-23 22:01:09 +01:00
..
0001-fix-build-with-disable-threads.patch
Config.in
sdl2.hash
sdl2.mk