[trunk] FolderReorgProposal task: move source code to source dir
[openjpeg.git] / src / lib / openjp2 / opj_config.h.cmake.in
1 /* create config.h for CMake */
2 #define PACKAGE_VERSION "@PACKAGE_VERSION@"
3
4 #cmakedefine HAVE_INTTYPES_H @HAVE_INTTYPES_H@
5 #cmakedefine HAVE_MEMORY_H @HAVE_MEMORY_H@
6 #cmakedefine HAVE_STDINT_H @HAVE_STDINT_H@
7 #cmakedefine HAVE_STDLIB_H @HAVE_STDLIB_H@
8 #cmakedefine HAVE_STRINGS_H @HAVE_STRINGS_H@
9 #cmakedefine HAVE_STRING_H @HAVE_STRING_H@
10 #cmakedefine HAVE_SYS_STAT_H @HAVE_SYS_STAT_H@
11 #cmakedefine HAVE_SYS_TYPES_H @HAVE_SYS_TYPES_H@
12 #cmakedefine HAVE_UNISTD_H @HAVE_UNISTD_H@
13 #cmakedefine HAVE_LIBPNG @HAVE_LIBPNG@
14 #cmakedefine HAVE_PNG_H @HAVE_PNG_H@
15 #cmakedefine HAVE_LIBTIFF @HAVE_LIBTIFF@
16 #cmakedefine HAVE_TIFF_H @HAVE_TIFF_H@
17 #cmakedefine HAVE_SSIZE_T @HAVE_SSIZE_T@
18
19 #cmakedefine _LARGEFILE_SOURCE
20 #cmakedefine _LARGE_FILES
21 #cmakedefine _FILE_OFFSET_BITS @_FILE_OFFSET_BITS@
22 #cmakedefine HAVE_FSEEKO @HAVE_FSEEKO@
23
24 #cmakedefine HAVE_LIBLCMS1
25 #cmakedefine HAVE_LIBLCMS2
26 #cmakedefine HAVE_LCMS1_H
27 #cmakedefine HAVE_LCMS2_H
28
29 /* Byte order.  */
30 /* All compilers that support Mac OS X define either __BIG_ENDIAN__ or
31 __LITTLE_ENDIAN__ to match the endianness of the architecture being
32 compiled for. This is not necessarily the same as the architecture of the
33 machine doing the building. In order to support Universal Binaries on
34 Mac OS X, we prefer those defines to decide the endianness.
35 On other platforms we use the result of the TRY_RUN. */
36 #if !defined(__APPLE__)
37 #cmakedefine OPJ_BIG_ENDIAN
38 #elif defined(__BIG_ENDIAN__)
39 # define OPJ_BIG_ENDIAN
40 #endif
41