FIX FOR DETECT PLATFORM

This commit is contained in:
lizzie
2026-08-12 18:09:32 +00:00
parent 789ebeb085
commit a89d421303
7 changed files with 12 additions and 10 deletions
+2 -2
View File
@@ -15,7 +15,7 @@ index 8872895..b0eeca8 100644
endif()
+# Always on?
+if (PLATFORM_PS4)
+if (OPENORBIS)
+ sdl_sources(
+ "${SDL3_SOURCE_DIR}/src/thread/pthread/SDL_systhread.c"
+ "${SDL3_SOURCE_DIR}/src/thread/pthread/SDL_sysmutex.c" # Can be faked, if necessary
@@ -38,7 +38,7 @@ index 8872895..b0eeca8 100644
if(NOT HAVE_SDL_THREADS)
# The Emscripten and N-Gage platform has been carefully vetted to work without threads
- if(EMSCRIPTEN OR NGAGE)
+ if(EMSCRIPTEN OR NGAGE OR PLATFORM_PS4)
+ if(EMSCRIPTEN OR NGAGE OR OPENORBIS)
set(SDL_THREADS_DISABLED 1)
sdl_glob_sources(
"${SDL3_SOURCE_DIR}/src/thread/generic/*.c"