From efdc370ca2a81d8920054a11c1303e815f273458 Mon Sep 17 00:00:00 2001 From: "Oleg.Korshul" Date: Sun, 20 Mar 2022 11:39:42 +0300 Subject: [PATCH] Mac build --- DesktopEditor/raster/Jp2/openjpeg/opj_config_private.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/DesktopEditor/raster/Jp2/openjpeg/opj_config_private.h b/DesktopEditor/raster/Jp2/openjpeg/opj_config_private.h index a688bd2564..20fee4d58c 100644 --- a/DesktopEditor/raster/Jp2/openjpeg/opj_config_private.h +++ b/DesktopEditor/raster/Jp2/openjpeg/opj_config_private.h @@ -4,7 +4,9 @@ #define OPJ_PACKAGE_VERSION "2.4.0" /* find whether or not have */ +#ifndef _MAC #define OPJ_HAVE_MALLOC_H +#endif /* check if function `aligned_alloc` exists */ #define OPJ_HAVE_ALIGNED_ALLOC /* check if function `_aligned_malloc` exists */