From f22b9b7b71f1c643680a1f61d328d7b04ed60eea Mon Sep 17 00:00:00 2001 From: Bruno Van de Velde Date: Fri, 27 Jul 2018 20:13:07 +0200 Subject: [PATCH] ANativeActivity_onCreate is not exported in sfml-main (fixes #1457) --- src/SFML/Main/MainAndroid.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SFML/Main/MainAndroid.cpp b/src/SFML/Main/MainAndroid.cpp index fcb85001..fe67bbad 100644 --- a/src/SFML/Main/MainAndroid.cpp +++ b/src/SFML/Main/MainAndroid.cpp @@ -464,7 +464,7 @@ static void onLowMemory(ANativeActivity* activity) //////////////////////////////////////////////////////////// -void ANativeActivity_onCreate(ANativeActivity* activity, void* savedState, size_t savedStateSize) +JNIEXPORT void ANativeActivity_onCreate(ANativeActivity* activity, void* savedState, size_t savedStateSize) { // Create an activity states (will keep us in the know, about events we care) sf::priv::ActivityStates* states = NULL;