From 18e8e2f261a78f1281387f9d5108c2c066e585be Mon Sep 17 00:00:00 2001 From: CppCXY <812125110@qq.com> Date: Thu, 7 Apr 2022 11:04:59 +0800 Subject: =?UTF-8?q?=E6=8F=90=E4=BA=A4=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- make/code_format.lua | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'make') diff --git a/make/code_format.lua b/make/code_format.lua index 17007fdd..48e4c80f 100644 --- a/make/code_format.lua +++ b/make/code_format.lua @@ -22,6 +22,13 @@ lm:source_set 'code_format' { }, macos = { -- macosx10.12不支持完整的std filesystem,只好砍功能 - defines = "NOT_SURPPORT_FILE_SYSTEM", + defines = "NOT_SUPPORT_FILE_SYSTEM", }, + linux = { + defines = (function () + if lm.platform == "linux-arm64" then + return "NOT_SUPPORT_FILE_SYSTEM" + end + end)() + } } -- cgit v1.2.3