From 74209d44527007877e56edac57705f4267c0da5e Mon Sep 17 00:00:00 2001 From: Anonymous Maarten Date: Mon, 27 Mar 2023 18:42:49 +0200 Subject: [PATCH] Fix -Wundef warnings due to use of unguarded __RISCOS__ --- src/thread/pthread/SDL_systhread.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/thread/pthread/SDL_systhread.c b/src/thread/pthread/SDL_systhread.c index cd11acc67c..5b39e3b1ad 100644 --- a/src/thread/pthread/SDL_systhread.c +++ b/src/thread/pthread/SDL_systhread.c @@ -176,7 +176,7 @@ SDL_ThreadID(void) int SDL_SYS_SetThreadPriority(SDL_ThreadPriority priority) { -#if __RISCOS__ +#if defined(__RISCOS__) /* FIXME: Setting thread priority does not seem to be supported */ return 0; #else