diff options
author | Chris Liddell <chris.liddell@artifex.com> | 2018-03-28 14:57:56 +0100 |
---|---|---|
committer | Chris Liddell <chris.liddell@artifex.com> | 2018-03-29 13:44:03 +0100 |
commit | a31ccd111b6ff21a1e49806c1e6e0861a9e45446 (patch) | |
tree | f58f53222997ee17b29ae54c0be1e1d01bfe599b /openjpeg/src/lib/openjp2/opj_includes.h | |
parent | 25971c91d6433b0249d3b721b75ef704afe0a09c (diff) | |
download | ghostpdl-a31ccd111b6ff21a1e49806c1e6e0861a9e45446.tar.gz |
Update OpenJPEG to 2.3.0
Incorporates changes from:
1) Add predefined openjpeg headers.
71242c9a04bb76b8b17fc489d62a91d04c1ad60c
2) Import patches from Sumatra's tree.
8b89e4b5750069172522ecf85e69d094b5e567e7
3) Avoid getenv call in openjpeg
202a0318a7b3a397fcd5d015dcad4293474f464c
Diffstat (limited to 'openjpeg/src/lib/openjp2/opj_includes.h')
-rw-r--r-- | openjpeg/src/lib/openjp2/opj_includes.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/openjpeg/src/lib/openjp2/opj_includes.h b/openjpeg/src/lib/openjp2/opj_includes.h index b33e63cef..0a8628c96 100644 --- a/openjpeg/src/lib/openjp2/opj_includes.h +++ b/openjpeg/src/lib/openjp2/opj_includes.h @@ -216,6 +216,8 @@ static INLINE long opj_lrintf(float f) /* Type to use for bit-fields in internal headers */ typedef unsigned int OPJ_BITFIELD; +#define OPJ_UNUSED(x) (void)x + #include "opj_inttypes.h" #include "opj_clock.h" #include "opj_malloc.h" @@ -243,6 +245,7 @@ typedef unsigned int OPJ_BITFIELD; #include "t2.h" #include "mct.h" #include "opj_intmath.h" +#include "sparse_array.h" #ifdef USE_JPIP #include "cidx_manager.h" |