summaryrefslogtreecommitdiff
path: root/src/lib/openjp2/openjpeg.h
diff options
context:
space:
mode:
authorMickael Savinaud <savmickael@users.noreply.github.com>2013-02-02 18:02:17 +0000
committerMickael Savinaud <savmickael@users.noreply.github.com>2013-02-02 18:02:17 +0000
commit62b6625a2fcf0dfecdda9952c36732618aa71b92 (patch)
treebd7b106927fdfbf9929cf2a1a94bb4ebbb1bceb2 /src/lib/openjp2/openjpeg.h
parent1c35a9ec9524aca975f6b5ff723d3173ab5d8d5d (diff)
[b2.x.x] backport into 2.x.x the rev 2252 of trunk
Diffstat (limited to 'src/lib/openjp2/openjpeg.h')
-rw-r--r--src/lib/openjp2/openjpeg.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/lib/openjp2/openjpeg.h b/src/lib/openjp2/openjpeg.h
index e5104316..9a2f1073 100644
--- a/src/lib/openjp2/openjpeg.h
+++ b/src/lib/openjp2/openjpeg.h
@@ -80,7 +80,7 @@ defined with this macro as being exported.
#endif /* OPJ_EXPORTS */
#endif /* !OPJ_STATIC || !_WIN32 */
-typedef int OPJ_BOOL; /*FIXME it should be to follow the name of others OPJ_TYPE -> OPJ_BOOL*/
+typedef int OPJ_BOOL;
#define OPJ_TRUE 1
#define OPJ_FALSE 0
@@ -100,6 +100,11 @@ typedef uint32_t OPJ_UINT32;
typedef int64_t OPJ_INT64;
typedef uint64_t OPJ_UINT64;
+typedef int64_t OPJ_OFF_T; /* 64-bit file offset type */
+
+#include <stdio.h>
+typedef size_t OPJ_SIZE_T;
+
/* Avoid compile-time warning because parameter is not used */
#define OPJ_ARG_NOT_USED(x) (void)(x)