Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2012-06-21 13:47:30 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-06-21 13:47:30 +0400
commitc250ab893c0b0086011d44848b66e53adcff8cad (patch)
tree0131eb22eb0726c995a4ecf6c6fa2022f7846cd9 /extern/libopenjpeg/opj_config.h
parent11cb213d4509b6a2733210fce934395a86543bae (diff)
update libopenjpeg from 1.3 to 1.5, since 1.3 has a bug saving alpha channels.
the patches/ dir is NOT applied but perhaps we can get OSX and BSD working using the opj_config.h
Diffstat (limited to 'extern/libopenjpeg/opj_config.h')
-rw-r--r--extern/libopenjpeg/opj_config.h38
1 files changed, 38 insertions, 0 deletions
diff --git a/extern/libopenjpeg/opj_config.h b/extern/libopenjpeg/opj_config.h
new file mode 100644
index 00000000000..82e12be03a9
--- /dev/null
+++ b/extern/libopenjpeg/opj_config.h
@@ -0,0 +1,38 @@
+/* for BLENDER - we hand-maintain this,
+ * for the original OpenJpeg package it is generated,
+ * the endian check is a blender define */
+
+/* create config.h for CMake */
+#define PACKAGE_VERSION "1.5.0"
+
+#define HAVE_INTTYPES_H
+#define HAVE_MEMORY_H
+#define HAVE_STDINT_H
+#define HAVE_STDLIB_H
+#define HAVE_STRINGS_H
+#define HAVE_STRING_H
+#define HAVE_SYS_STAT_H
+#define HAVE_SYS_TYPES_H
+#define HAVE_UNISTD_H
+/* #define HAVE_LIBPNG */
+/* #define HAVE_PNG_H */
+/* #define HAVE_LIBTIFF */
+/* #define HAVE_TIFF_H */
+
+/* #undef HAVE_LIBLCMS1 */
+/* #undef HAVE_LIBLCMS2 */
+/* #undef HAVE_LCMS1_H */
+/* #undef HAVE_LCMS2_H */
+
+/* Byte order. */
+/* All compilers that support Mac OS X define either __BIG_ENDIAN__ or
+__LITTLE_ENDIAN__ to match the endianness of the architecture being
+compiled for. This is not necessarily the same as the architecture of the
+machine doing the building. In order to support Universal Binaries on
+Mac OS X, we prefer those defines to decide the endianness.
+On other platforms we use the result of the TRY_RUN. */
+#if defined(__BIG_ENDIAN__)
+# define OPJ_BIG_ENDIAN
+#else
+# undef OPJ_BIG_ENDIAN
+#endif