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

@@ -23,7 +23,7 @@
#include "../SDL_main_callbacks.h"
#include "../../video/SDL_sysvideo.h"
#ifndef __IOS__
#ifndef SDL_PLATFORM_IOS
static int callback_rate_increment = 0;
@@ -80,4 +80,4 @@ int SDL_EnterAppMainCallbacks(int argc, char* argv[], SDL_AppInit_func appinit,
return (rc < 0) ? 1 : 0;
}
#endif // !__IOS__
#endif // !SDL_PLATFORM_IOS

View File

@@ -22,7 +22,7 @@
#include "SDL_internal.h"
#include "../SDL_main_callbacks.h"
#ifdef __IOS__
#ifdef SDL_PLATFORM_IOS
#import <UIKit/UIKit.h>