Fix Xbox builds

This commit is contained in:
Daniel Ludwig
2024-09-27 11:33:00 +02:00
committed by Sam Lantinga
parent c7442b04f0
commit e98cf3c870
2 changed files with 8 additions and 6 deletions

View File

@@ -23,7 +23,7 @@
#include "../SDL_hashtable.h"
#include "SDL_getenv_c.h"
#if defined(SDL_PLATFORM_WIN32) || defined(SDL_PLATFORM_WINGDK)
#if defined(SDL_PLATFORM_WINDOWS)
#include "../core/windows/SDL_windows.h"
#endif
@@ -31,7 +31,7 @@
#include "../core/android/SDL_android.h"
#endif
#if defined(SDL_PLATFORM_WIN32) || defined(SDL_PLATFORM_WINGDK)
#if defined(SDL_PLATFORM_WINDOWS)
#define HAVE_WIN32_ENVIRONMENT
#elif defined(HAVE_GETENV) && \
(defined(HAVE_SETENV) || defined(HAVE_PUTENV)) && \