Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
libSDL
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
PocketInsanity
libSDL
Commits
98e5ddb3
Commit
98e5ddb3
authored
Mar 25, 2011
by
Sam Lantinga
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Android defines linux, but doesn't have the gettid system call.
parent
5c01c479
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
SDL_systhread.c
src/thread/pthread/SDL_systhread.c
+2
-2
No files found.
src/thread/pthread/SDL_systhread.c
View file @
98e5ddb3
...
@@ -23,7 +23,7 @@
...
@@ -23,7 +23,7 @@
#include <pthread.h>
#include <pthread.h>
#include <signal.h>
#include <signal.h>
#ifdef
linux
#ifdef
__LINUX__
#include <sys/time.h>
#include <sys/time.h>
#include <sys/resource.h>
#include <sys/resource.h>
#include <sys/syscall.h>
#include <sys/syscall.h>
...
@@ -100,7 +100,7 @@ SDL_ThreadID(void)
...
@@ -100,7 +100,7 @@ SDL_ThreadID(void)
int
int
SDL_SYS_SetThreadPriority
(
SDL_ThreadPriority
priority
)
SDL_SYS_SetThreadPriority
(
SDL_ThreadPriority
priority
)
{
{
#ifdef
linux
#ifdef
__LINUX__
int
value
;
int
value
;
if
(
priority
==
SDL_THREAD_PRIORITY_LOW
)
{
if
(
priority
==
SDL_THREAD_PRIORITY_LOW
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment