1 Star 0 Fork 19

mgb01105731/qt5-qtbase

forked from src-anolis-os/qt5-qtbase 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
armv4.diff 957 Bytes
一键复制 编辑 原始数据 按行查看 历史
xingwei-liu 提交于 2022-10-13 02:47 . !8 feature: add patchs for DDE
From e2bc11edb30fbfb8ff2f8ff74b83e7d81dd98498 Mon Sep 17 00:00:00 2001
From: root <root@localhost.localdomain>
Date: Tue, 5 Jul 2022 15:31:49 +0800
Subject: [PATCH] armv4
---
src/corelib/global/qprocessordetection.h | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/src/corelib/global/qprocessordetection.h b/src/corelib/global/qprocessordetection.h
index 99adb3e3..54958584 100644
--- a/src/corelib/global/qprocessordetection.h
+++ b/src/corelib/global/qprocessordetection.h
@@ -144,6 +144,8 @@
# elif defined(__ARM_ARCH_5TEJ__) \
|| defined(__ARM_ARCH_5TE__)
# define Q_PROCESSOR_ARM 5
+# elif defined(__ARM_ARCH_4T__)
+# define Q_PROCESSOR_ARM 4
# else
# define Q_PROCESSOR_ARM 0
# endif
@@ -158,6 +160,9 @@
# endif
# if Q_PROCESSOR_ARM >= 5
# define Q_PROCESSOR_ARM_V5
+# endif
+# if Q_PROCESSOR_ARM >= 4
+# define Q_PROCESSOR_ARM_V4
# else
# error "ARM architecture too old"
# endif
--
2.31.1
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/mgb01105731/qt5-qtbase.git
git@gitee.com:mgb01105731/qt5-qtbase.git
mgb01105731
qt5-qtbase
qt5-qtbase
a8

搜索帮助