From 97f7b4620a348d4f341e2b37bc33f880e2ceeb21 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!) (cherry picked from commit 1caa427035891a0badb7901724441b48e9c2b044) --- VisualC-GDK/tests/testsprite/testsprite.vcxproj | 2 +- src/filesystem/gdk/SDL_sysfilesystem.cpp | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/VisualC-GDK/tests/testsprite/testsprite.vcxproj b/VisualC-GDK/tests/testsprite/testsprite.vcxproj index 9534f5b0b9..dc99d43c28 100644 --- a/VisualC-GDK/tests/testsprite/testsprite.vcxproj +++ b/VisualC-GDK/tests/testsprite/testsprite.vcxproj @@ -386,4 +386,4 @@ copy "%(FullPath)" "$(OutDir)\" - \ No newline at end of file + diff --git a/src/filesystem/gdk/SDL_sysfilesystem.cpp b/src/filesystem/gdk/SDL_sysfilesystem.cpp index 26f515746d..9f0b35429a 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 */ @@ -134,6 +133,5 @@ SDL_GetPrefPath(const char *org, const char *app) return folderPath; } -#endif /* SDL_FILESYSTEM_XBOX */ /* vi: set ts=4 sw=4 expandtab: */