From 8ebce9c149112d59552ed530361f80372455fdb2 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Mon, 10 Sep 2018 18:18:49 +0200 Subject: Add Emscripten / WebAssembly build. Requires Linux (or possibly MacOS X) and an installed emsdk to build. --- include/mupdf/fitz/system.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include') 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 -- cgit v1.2.3