summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2018-09-10 18:18:49 +0200
committerTor Andersson <tor.andersson@artifex.com>2018-10-23 17:23:59 +0200
commit8ebce9c149112d59552ed530361f80372455fdb2 (patch)
treeebc90eb93345d1b3a77841ed2a92e56a4c1b1baf /include
parentddd00f62888c908c84932c2a92a0c2d195b26c36 (diff)
downloadmupdf-8ebce9c149112d59552ed530361f80372455fdb2.tar.xz
Add Emscripten / WebAssembly build.
Requires Linux (or possibly MacOS X) and an installed emsdk to build.
Diffstat (limited to 'include')
-rw-r--r--include/mupdf/fitz/system.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/mupdf/fitz/system.h b/include/mupdf/fitz/system.h
index 1231f031..c623f2cb 100644
--- a/include/mupdf/fitz/system.h
+++ b/include/mupdf/fitz/system.h
@@ -61,9 +61,11 @@ typedef unsigned __int64 uint64_t;
#if defined(__APPLE__)
#define HAVE_SIGSETJMP
#elif defined(__unix)
+#ifndef __EMSCRIPTEN__
#define HAVE_SIGSETJMP
#endif
#endif
+#endif
/*
Where possible (i.e. on platforms on which they are provided), use