summaryrefslogtreecommitdiff
path: root/src/lib/openjp2/opj_includes.h
diff options
context:
space:
mode:
authorAntonin Descampe <antonin@gmail.com>2016-09-13 21:21:11 +0200
committerAntonin Descampe <antonin@gmail.com>2016-09-13 21:21:11 +0200
commitf66e1204523415e8936c237ce9cc759e2185708f (patch)
treeb3439d73132c65128717ad358c3de0131766df78 /src/lib/openjp2/opj_includes.h
parentd6d0f070e179fc195849aacd842c92f79653934f (diff)
parent8750e183c652de44d332e786842ca33182c375be (diff)
Merge branch 'bit-fields-type' of https://github.com/smuehlst/openjpeg into smuehlst-bit-fields-type
Diffstat (limited to 'src/lib/openjp2/opj_includes.h')
-rw-r--r--src/lib/openjp2/opj_includes.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/openjp2/opj_includes.h b/src/lib/openjp2/opj_includes.h
index 66323e94..3576877c 100644
--- a/src/lib/openjp2/opj_includes.h
+++ b/src/lib/openjp2/opj_includes.h
@@ -183,6 +183,9 @@ static INLINE long opj_lrintf(float f) {
# pragma intrinsic(__emul)
#endif
+/* Type to use for bit-fields in internal headers */
+typedef unsigned int OPJ_BITFIELD;
+
#include "opj_inttypes.h"
#include "opj_clock.h"
#include "opj_malloc.h"