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

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

No files matched your search

+2 -2
View File
@@ -20,7 +20,7 @@
*/
#include "SDL_internal.h"
#if defined(__IOS__) || defined(__TVOS__)
#if defined(SDL_PLATFORM_IOS) || defined(SDL_PLATFORM_TVOS)
#include "../SDL_sysurl.h"
@@ -40,4 +40,4 @@ int SDL_SYS_OpenURL(const char *url)
}
}
#endif /* __IOS__ || __TVOS__ */
#endif /* SDL_PLATFORM_IOS || SDL_PLATFORM_TVOS */
+2 -2
View File
@@ -20,7 +20,7 @@
*/
#include "SDL_internal.h"
#if defined(__MACOS__)
#if defined(SDL_PLATFORM_MACOS)
#include "../SDL_sysurl.h"
@@ -36,4 +36,4 @@ int SDL_SYS_OpenURL(const char *url)
}
}
#endif /* __MACOS__ */
#endif /* SDL_PLATFORM_MACOS */
+1 -1
View File
@@ -25,7 +25,7 @@
#include <shellapi.h>
#if defined(__XBOXONE__) || defined(__XBOXSERIES__)
#if defined(SDL_PLATFORM_XBOXONE) || defined(SDL_PLATFORM_XBOXSERIES)
int SDL_SYS_OpenURL(const char *url)
{
/* Not supported */