--- jbig2dec.old/jbig2.h +++ jbig2dec/jbig2.h @@ -29,6 +29,9 @@ * predefine MEMENTO whilst building. */ /* #define MEMENTO */ +#undef MEMENTO +#define JBIG_NO_MEMENTO 1 + /* SumatraPDF: allow to build without MEMENTO (clashes with MuPDF's) */ #ifndef JBIG_NO_MEMENTO /* If we are building as part of GS then make sure we use the version