From 1caa427035891a0badb7901724441b48e9c2b044 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Tue, 30 Apr 2024 10:20:55 -0700 Subject: [PATCH] Fixed building with GDK (thanks @Romans-I-XVI!) --- .../tests/testgamecontroller/testgamecontroller.vcxproj | 6 +++--- src/filesystem/gdk/SDL_sysfilesystem.cpp | 2 -- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/VisualC-GDK/tests/testgamecontroller/testgamecontroller.vcxproj b/VisualC-GDK/tests/testgamecontroller/testgamecontroller.vcxproj index ca6473c8cb..4732934788 100644 --- a/VisualC-GDK/tests/testgamecontroller/testgamecontroller.vcxproj +++ b/VisualC-GDK/tests/testgamecontroller/testgamecontroller.vcxproj @@ -139,7 +139,7 @@ Windows - xgameruntime.lib;../Microsoft.Xbox.Services.141.GDK.C.Thunks.lib;%(AdditionalDependencies) + xgameruntime.lib;../Microsoft.Xbox.Services.GDK.C.Thunks.lib;%(AdditionalDependencies) @@ -211,7 +211,7 @@ true Windows - xgameruntime.lib;../Microsoft.Xbox.Services.141.GDK.C.Thunks.lib;%(AdditionalDependencies) + xgameruntime.lib;../Microsoft.Xbox.Services.GDK.C.Thunks.lib;%(AdditionalDependencies) @@ -409,7 +409,7 @@ - + Document true true diff --git a/src/filesystem/gdk/SDL_sysfilesystem.cpp b/src/filesystem/gdk/SDL_sysfilesystem.cpp index 601d352bf6..22cc9c2881 100644 --- a/src/filesystem/gdk/SDL_sysfilesystem.cpp +++ b/src/filesystem/gdk/SDL_sysfilesystem.cpp @@ -20,7 +20,6 @@ */ #include "../../SDL_internal.h" -#ifdef SDL_FILESYSTEM_XBOX /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ /* System dependent filesystem routines */ @@ -135,6 +134,5 @@ SDL_GetPrefPath(const char *org, const char *app) return folderPath; } -#endif /* SDL_FILESYSTEM_XBOX */ /* vi: set ts=4 sw=4 expandtab: */