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) {