struct opj_j2k: remove unused fields, and add some documentation
[openjpeg.git] / src / lib / openjp2 / opj_stdint.h
index fde17759e0b86bb0957dded001e5280533e9a019..f26c921c2538cb8bc6280efddfea32948f3e70d8 100644 (file)
@@ -1,4 +1,9 @@
 /*
+ * The copyright in this software is being made available under the 2-clauses
+ * BSD License, included below. This software may be subject to other third
+ * party and contributor rights, including patent rights, and no such rights
+ * are granted under this license.
+ *
  * Copyright (c) 2012, Mathieu Malaterre <mathieu.malaterre@gmail.com>
  * All rights reserved.
  *
@@ -27,7 +32,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 +49,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 */