From 3c5967caea723d2004fc18d1516d95d02d2093d0 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Fri, 25 Mar 2011 13:48:48 -0700 Subject: [PATCH] Android defines linux, but doesn't have the gettid system call. --- src/thread/pthread/SDL_systhread.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/thread/pthread/SDL_systhread.c b/src/thread/pthread/SDL_systhread.c index 57d555073..e0cd4c244 100644 --- a/src/thread/pthread/SDL_systhread.c +++ b/src/thread/pthread/SDL_systhread.c @@ -23,7 +23,7 @@ #include #include -#ifdef linux +#ifdef __LINUX__ #include #include #include @@ -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) {