1 Star 0 Fork 13

openeuler-embedded/brotli

forked from src-openEuler/brotli 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
Fix-include-for-EMCC-build.patch 713 Bytes
一键复制 编辑 原始数据 按行查看 历史
wangjie 提交于 2020-10-19 14:19 . Synchronize patches from community
From 3d1767186da60c29086f61be24f8292876afa871 Mon Sep 17 00:00:00 2001
From: Eugene Kliuchnikov <eustas.ru@gmail.com>
Date: Tue, 30 Jul 2019 10:01:21 +0200
Subject: [PATCH] Fix include for EMCC build (#765)
---
c/common/platform.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/c/common/platform.h b/c/common/platform.h
index b6d634e..2633e04 100755
--- a/c/common/platform.h
+++ b/c/common/platform.h
@@ -29,7 +29,7 @@
#include <brotli/port.h>
#include <brotli/types.h>
-#if defined(OS_LINUX) || defined(OS_CYGWIN)
+#if defined(OS_LINUX) || defined(OS_CYGWIN) || defined(__EMSCRIPTEN__)
#include <endian.h>
#elif defined(OS_FREEBSD)
#include <machine/endian.h>
--
2.6.1.windows.1
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/openeuler-embedded/brotli.git
git@gitee.com:openeuler-embedded/brotli.git
openeuler-embedded
brotli
brotli
openEuler-embedded

搜索帮助