summaryrefslogtreecommitdiffstats
path: root/platform/web/godot_js.h
diff options
context:
space:
mode:
Diffstat (limited to 'platform/web/godot_js.h')
-rw-r--r--platform/web/godot_js.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/platform/web/godot_js.h b/platform/web/godot_js.h
index 3341cf8a67..f172148bf9 100644
--- a/platform/web/godot_js.h
+++ b/platform/web/godot_js.h
@@ -31,6 +31,8 @@
#ifndef GODOT_JS_H
#define GODOT_JS_H
+#define WASM_EXPORT __attribute__((visibility("default")))
+
#ifdef __cplusplus
extern "C" {
#endif