Fix duplicate symbol on iOS/tvOS

main
kanjitalk755 2023-11-05 15:57:15 +09:00 committed by Sam Lantinga
parent 2b62f25a6f
commit c56583fe45
1 changed files with 3 additions and 0 deletions

View File

@ -23,6 +23,8 @@
#include "../SDL_main_callbacks.h"
#include "../../video/SDL_sysvideo.h"
#ifndef __IOS__
static int callback_rate_increment = 0;
static void SDLCALL MainCallbackRateHintChanged(void *userdata, const char *name, const char *oldValue, const char *newValue)
@ -78,3 +80,4 @@ int SDL_EnterAppMainCallbacks(int argc, char* argv[], SDL_AppInit_func appinit,
return (rc < 0) ? 1 : 0;
}
#endif