mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-04-07 13:55:33 +08:00
add raw and ska support
This commit is contained in:
@ -41,22 +41,11 @@
|
||||
|
||||
#define CXIMAGE_SUPPORT_JBG 0 // GPL'd see ../jbig/copying.txt & ../jbig/patents.htm
|
||||
|
||||
#if defined(BUILDING_WASM_MODULE)
|
||||
|
||||
#define CXIMAGE_SUPPORT_MNG 1
|
||||
#define CXIMAGE_SUPPORT_SKA 0
|
||||
#define CXIMAGE_SUPPORT_RAW 0
|
||||
#define CXIMAGE_SUPPORT_PSD 1
|
||||
|
||||
#else
|
||||
|
||||
#define CXIMAGE_SUPPORT_MNG 1
|
||||
#define CXIMAGE_SUPPORT_SKA 1
|
||||
#define CXIMAGE_SUPPORT_RAW 1
|
||||
#define CXIMAGE_SUPPORT_PSD 1
|
||||
|
||||
#endif // BUILDING_WASM_MODULE
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
#define CXIMAGE_MAX_MEMORY 268435456
|
||||
|
||||
|
||||
@ -35,6 +35,14 @@
|
||||
#ifndef __LIBDCR
|
||||
#define __LIBDCR
|
||||
|
||||
#if defined(BUILDING_WASM_MODULE)
|
||||
#include <setjmp.h>
|
||||
#include <time.h>
|
||||
#include <unistd.h>
|
||||
#include <netinet/in.h>
|
||||
#define _swab swab
|
||||
#endif
|
||||
|
||||
#if defined(WIN32) || defined(_WIN32_WCE)
|
||||
#include <io.h>
|
||||
#include <direct.h>
|
||||
|
||||
Reference in New Issue
Block a user