Navigation Menu

Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Android defines linux, but doesn't have the gettid system call.
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Mar 25, 2011
1 parent a3d76f6 commit 3c5967c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/thread/pthread/SDL_systhread.c
Expand Up @@ -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>
Expand Down Expand Up @@ -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) {
Expand Down

0 comments on commit 3c5967c

Please sign in to comment.