aboutsummaryrefslogtreecommitdiff
path: root/libelf
diff options
context:
space:
mode:
authorPavel Pisa <pisa@cmp.felk.cvut.cz>2019-07-18 09:35:44 +0200
committerPavel Pisa <pisa@cmp.felk.cvut.cz>2019-07-18 09:35:44 +0200
commit9db55f741e283d0e52f2cd07090d9403378cd6a5 (patch)
treed2cd522846707e9da3665e72ef01122fececa3f0 /libelf
parent6fabd7c08a087278a44260335769d0e78aa355ee (diff)
downloadqtmips-9db55f741e283d0e52f2cd07090d9403378cd6a5.tar.gz
qtmips-9db55f741e283d0e52f2cd07090d9403378cd6a5.tar.bz2
qtmips-9db55f741e283d0e52f2cd07090d9403378cd6a5.zip
Rename Highlighter to HighlighterAsm to preare for alternative C highlighter.
Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
Diffstat (limited to 'libelf')
-rw-r--r--libelf/dummy-sigaltstack.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/libelf/dummy-sigaltstack.c b/libelf/dummy-sigaltstack.c
new file mode 100644
index 0000000..b9ab59b
--- /dev/null
+++ b/libelf/dummy-sigaltstack.c
@@ -0,0 +1,10 @@
+#ifdef __EMSCRIPTEN__
+
+#include <signal.h>
+
+int sigaltstack(const stack_t *ss, stack_t *old_ss)
+{
+ return -1;
+}
+
+#endif