mirror of
https://github.com/yawut/SDL.git
synced 2026-04-24 23:37:09 -05:00
Android defines linux, but doesn't have the gettid system call.
This commit is contained in:
parent
f0c424685b
commit
2b487fd839
|
|
@ -23,7 +23,7 @@
|
|||
|
||||
#include <pthread.h>
|
||||
#include <signal.h>
|
||||
#ifdef linux
|
||||
#ifdef __LINUX__
|
||||
#include <sys/time.h>
|
||||
#include <sys/resource.h>
|
||||
#include <sys/syscall.h>
|
||||
|
|
@ -100,7 +100,7 @@ SDL_ThreadID(void)
|
|||
int
|
||||
SDL_SYS_SetThreadPriority(SDL_ThreadPriority priority)
|
||||
{
|
||||
#ifdef linux
|
||||
#ifdef __LINUX__
|
||||
int value;
|
||||
|
||||
if (priority == SDL_THREAD_PRIORITY_LOW) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user