aboutsummaryrefslogtreecommitdiff
path: root/system/lib
diff options
context:
space:
mode:
Diffstat (limited to 'system/lib')
-rwxr-xr-xsystem/lib/embind/bind.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/lib/embind/bind.cpp b/system/lib/embind/bind.cpp
index 1619eddc..deb55138 100755
--- a/system/lib/embind/bind.cpp
+++ b/system/lib/embind/bind.cpp
@@ -12,7 +12,7 @@
using namespace emscripten;
extern "C" {
- const char* EMSCRIPTEN_KEEPALIVE __getTypeName(const std::type_info* ti) {
+ const char* __attribute__((used)) __getTypeName(const std::type_info* ti) {
#ifdef USE_CXA_DEMANGLE
int stat;
char* demangled = abi::__cxa_demangle(ti->name(), NULL, NULL, &stat);