Fixed bug 4667 - Build errors on Linux when building without Threads support
authorSam Lantinga <slouken@libsdl.org>
Mon, 17 Jun 2019 08:38:33 -0700
changeset 1286871ddabe9ad73
parent 12867 a38317a29191
child 12869 2b56cef46971
Fixed bug 4667 - Build errors on Linux when building without Threads support

Manuel Sabogal

There is an issue on the latest commit of the mercurial repo when SDL_THREADS_DISABLED is set:

src/core/linux/SDL_threadprio.c:79:28: error: unknown type name 'Sint64'; did you mean 'int'
src/core/linux/SDL_threadprio.c
     1.1 --- a/src/core/linux/SDL_threadprio.c	Sun Jun 16 14:10:30 2019 -0300
     1.2 +++ b/src/core/linux/SDL_threadprio.c	Mon Jun 17 08:38:33 2019 -0700
     1.3 @@ -22,6 +22,8 @@
     1.4  
     1.5  #ifdef __LINUX__
     1.6  
     1.7 +#include "SDL_stdinc.h"
     1.8 +
     1.9  #if !SDL_THREADS_DISABLED
    1.10  #include <sys/time.h>
    1.11  #include <sys/resource.h>