aboutsummaryrefslogtreecommitdiff
path: root/system/include/libc/machine
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2011-10-07 16:42:54 -0700
committerAlon Zakai <alonzakai@gmail.com>2011-10-07 16:42:54 -0700
commit09c67774af1379b51a1ac802a25c07f00a45cf0f (patch)
tree4fa4ee114d112d3d089cce529c65ed7a9e269b87 /system/include/libc/machine
parent43760d313e63c074173e0fbcd841f96cc73ec638 (diff)
fix openjpeg
Diffstat (limited to 'system/include/libc/machine')
-rw-r--r--system/include/libc/machine/setjmp.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/system/include/libc/machine/setjmp.h b/system/include/libc/machine/setjmp.h
index a4699651..d3f9bda3 100644
--- a/system/include/libc/machine/setjmp.h
+++ b/system/include/libc/machine/setjmp.h
@@ -269,6 +269,11 @@ _BEGIN_STD_C
#define _JBLEN 0x44
#endif
+#ifdef EMSCRIPTEN /* Not that this can actually work... */
+#define _JBLEN 20
+#define _JBTYPE unsigned short
+#endif
+
#ifdef _JBLEN
#ifdef _JBTYPE
typedef _JBTYPE jmp_buf[_JBLEN];