Commit 98e5ddb3 authored by Sam Lantinga's avatar Sam Lantinga

Android defines linux, but doesn't have the gettid system call.

parent 5c01c479
......@@ -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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment