summaryrefslogtreecommitdiff
path: root/src/lib/openjp2/opj_stdint.h
diff options
context:
space:
mode:
authorMickael Savinaud <savmickael@users.noreply.github.com>2012-12-04 12:51:00 +0000
committerMickael Savinaud <savmickael@users.noreply.github.com>2012-12-04 12:51:00 +0000
commitf5429e4ce82d88ac86dab7d50f1776207e4c0bed (patch)
tree8eb64fa08c07522b1714e0fdca29c446b159e78a /src/lib/openjp2/opj_stdint.h
parent82dad8e629356907121f9b91fcc2826fc8066ec2 (diff)
[trunk] remove SSIZE which is unused in openjpeg and rename HAVE_STDINT_H to OPJ_HAVE_STDINT_H
Diffstat (limited to 'src/lib/openjp2/opj_stdint.h')
-rw-r--r--src/lib/openjp2/opj_stdint.h11
1 files changed, 1 insertions, 10 deletions
diff --git a/src/lib/openjp2/opj_stdint.h b/src/lib/openjp2/opj_stdint.h
index fde17759..2d121803 100644
--- a/src/lib/openjp2/opj_stdint.h
+++ b/src/lib/openjp2/opj_stdint.h
@@ -27,7 +27,7 @@
#define OPJ_STDINT_H
#include "opj_config.h"
-#ifdef HAVE_STDINT_H
+#ifdef OPJ_HAVE_STDINT_H
#include <stdint.h>
#else
#if defined(_WIN32)
@@ -44,13 +44,4 @@ typedef unsigned __int64 uint64_t;
#endif
#endif
-#ifndef HAVE_SSIZE_T
-#if defined(_WIN32)
-#include <BaseTsd.h>
-typedef SSIZE_T ssize_t;
-#else
-#error SSIZE_T is undefined
-#endif /* _WIN32 */
-#endif
-
#endif /* OPJ_STDINT_H */