aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/library.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/library.js b/src/library.js
index 3ee6f505..f8ea67ba 100644
--- a/src/library.js
+++ b/src/library.js
@@ -3712,6 +3712,11 @@ LibraryManager.library = {
__exit(status);
},
+ _ZSt9terminatev__deps: ['exit'],
+ _ZSt9terminatev: function() {
+ _exit(-1234);
+ },
+
atexit: function(func, arg) {
__ATEXIT__.unshift({ func: func, arg: arg });
},