From d878291091a5f454ec117ae982287917d4b14f8a Mon Sep 17 00:00:00 2001 From: Oleg Korshul Date: Sun, 21 Jan 2024 21:00:39 +0300 Subject: [PATCH] Fix bug 65650 --- DesktopEditor/cximage/CxImage/ximacfg.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/DesktopEditor/cximage/CxImage/ximacfg.h b/DesktopEditor/cximage/CxImage/ximacfg.h index 66fdfa4257..d6189f4bdc 100644 --- a/DesktopEditor/cximage/CxImage/ximacfg.h +++ b/DesktopEditor/cximage/CxImage/ximacfg.h @@ -43,9 +43,14 @@ #define CXIMAGE_SUPPORT_MNG 1 #define CXIMAGE_SUPPORT_SKA 1 -#define CXIMAGE_SUPPORT_RAW 1 #define CXIMAGE_SUPPORT_PSD 1 +#ifndef BUILDING_WASM_MODULE +#define CXIMAGE_SUPPORT_RAW 1 +#else +#define CXIMAGE_SUPPORT_RAW 0 +#endif + #ifdef CXIMAGE_DISABLE_SUPPORT_MNG #undef CXIMAGE_SUPPORT_MNG #define CXIMAGE_SUPPORT_MNG 0