mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-05-31 22:42:52 +08:00
Fix duplicate symbol on iOS/tvOS
This commit is contained in:
committed by
Sam Lantinga
parent
2b62f25a6f
commit
c56583fe45
@@ -23,6 +23,8 @@
|
|||||||
#include "../SDL_main_callbacks.h"
|
#include "../SDL_main_callbacks.h"
|
||||||
#include "../../video/SDL_sysvideo.h"
|
#include "../../video/SDL_sysvideo.h"
|
||||||
|
|
||||||
|
#ifndef __IOS__
|
||||||
|
|
||||||
static int callback_rate_increment = 0;
|
static int callback_rate_increment = 0;
|
||||||
|
|
||||||
static void SDLCALL MainCallbackRateHintChanged(void *userdata, const char *name, const char *oldValue, const char *newValue)
|
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;
|
return (rc < 0) ? 1 : 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user