Use #ifdef/#ifndef instead of #if defined/#if \!defined

This commit is contained in:
Anonymous Maarten authored and Anonymous Maarten committed 2023-03-30 21:35:01 +00:00
1 parent 308bcbbe76
commit b6ae281e97
129 files changed
+450 -450

No files matched your search

+2 -2
View File
@@ -31,7 +31,7 @@
*/
#ifndef SDL_MAIN_HANDLED
#if defined(__WIN32__)
#ifdef __WIN32__
/* On Windows SDL provides WinMain(), which parses the command line and passes
the arguments to your main function.
@@ -253,7 +253,7 @@ extern DECLSPEC void SDLCALL SDL_UnregisterApp(void);
#endif /* __WINRT__ */
#if defined(__IOS__)
#ifdef __IOS__
/* for compatibility with SDL2's function of this name */
#define SDL_UIKitRunApp(ARGC, ARGV, MAIN_FUNC) SDL_RunApp(ARGC, ARGV, MAIN_FUNC, NULL)