summaryrefslogtreecommitdiffstats
path: root/modules/nativescript/godot_nativescript.h
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2017-08-31 13:51:10 +0200
committerGitHub <noreply@github.com>2017-08-31 13:51:10 +0200
commit6f762ad70993afbbcb496d003ac1ee09f5bc9556 (patch)
treec55e2a7dc8fda376f0058be1604f001f56216301 /modules/nativescript/godot_nativescript.h
parent51066fcde78714bde438d84486624431bcca7188 (diff)
parent5ccdeccb6ed6b8480a86b0db36f192526cba1274 (diff)
downloadredot-engine-6f762ad70993afbbcb496d003ac1ee09f5bc9556.tar.gz
Merge pull request #10422 from endragor/gdnative-android
Make GDNative work on Android
Diffstat (limited to 'modules/nativescript/godot_nativescript.h')
-rw-r--r--modules/nativescript/godot_nativescript.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/nativescript/godot_nativescript.h b/modules/nativescript/godot_nativescript.h
index 1eaf459570..d263c61464 100644
--- a/modules/nativescript/godot_nativescript.h
+++ b/modules/nativescript/godot_nativescript.h
@@ -58,7 +58,7 @@ extern "C" {
#define GDAPI GDCALLINGCONV
#endif
#else
-#define GDCALLINGCONV __attribute__((sysv_abi))
+#define GDCALLINGCONV __attribute__((sysv_abi, visibility("default")))
#define GDAPI GDCALLINGCONV
#endif