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 */