summaryrefslogtreecommitdiff
path: root/src/lib/openjp2/opj_config_private.h.cmake.in
diff options
context:
space:
mode:
authorMathieu Malaterre <mathieu.malaterre@gmail.com>2015-10-09 22:03:35 +0200
committerMathieu Malaterre <mathieu.malaterre@gmail.com>2015-10-09 22:04:04 +0200
commit0dc4914b4e5b93ab1d765a541fb342835ada51b5 (patch)
treef5152fd091d1a3555cd072555eef4ee628ceb71f /src/lib/openjp2/opj_config_private.h.cmake.in
parentde0a9ed10302f94e1d0808ab4e88d6152742cb04 (diff)
cleanup header file and move to implementation
Diffstat (limited to 'src/lib/openjp2/opj_config_private.h.cmake.in')
-rw-r--r--src/lib/openjp2/opj_config_private.h.cmake.in13
1 files changed, 12 insertions, 1 deletions
diff --git a/src/lib/openjp2/opj_config_private.h.cmake.in b/src/lib/openjp2/opj_config_private.h.cmake.in
index 8a02c79d..97c9fdc5 100644
--- a/src/lib/openjp2/opj_config_private.h.cmake.in
+++ b/src/lib/openjp2/opj_config_private.h.cmake.in
@@ -17,6 +17,17 @@
#cmakedefine _FILE_OFFSET_BITS @_FILE_OFFSET_BITS@
#cmakedefine OPJ_HAVE_FSEEKO @OPJ_HAVE_FSEEKO@
+/* find whether or not have <malloc.h> */
+#cmakedefine HAVE_MALLOC_H
+/* check if function `aligned_alloc` exists */
+#cmakedefine HAVE_ALIGNED_ALLOC
+/* check if function `_aligned_malloc` exists */
+#cmakedefine HAVE__ALIGNED_MALLOC
+/* check if function `memalign` exists */
+#cmakedefine HAVE_MEMALIGN
+/* check if function `posix_memalign` exists */
+#cmakedefine HAVE_POSIX_MEMALIGN
+
/* Byte order. */
/* All compilers that support Mac OS X define either __BIG_ENDIAN__ or
__LITTLE_ENDIAN__ to match the endianness of the architecture being
@@ -28,4 +39,4 @@ On other platforms we use the result of the TRY_RUN. */
#cmakedefine OPJ_BIG_ENDIAN
#elif defined(__BIG_ENDIAN__)
# define OPJ_BIG_ENDIAN
-#endif \ No newline at end of file
+#endif