Define SDL_PLATFORM_* macros instead of underscored ones (#8875)

This commit is contained in:
Anonymous Maarten
2024-01-24 02:40:51 +01:00
committed by GitHub
parent ceccf24519
commit 31d133db40
208 changed files with 1293 additions and 1138 deletions

View File

@@ -37,7 +37,7 @@ void *SDL_LoadObject(const char *sofile)
return NULL;
}
tstr = WIN_UTF8ToString(sofile);
#ifdef __WINRT__
#ifdef SDL_PLATFORM_WINRT
/* WinRT only publicly supports LoadPackagedLibrary() for loading .dll
files. LoadLibrary() is a private API, and not available for apps
(that can be published to MS' Windows Store.)