1 Star 0 Fork 58

roy/NetworkManager

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
NetworkManager-Add-sw64-architecture.patch 949 Bytes
一键复制 编辑 原始数据 按行查看 历史
robertxw 提交于 2022-12-02 14:15 . Add sw64 architecture
From a3e9c5c1e6646c133b7dbd6d996b4f38a44ae0aa Mon Sep 17 00:00:00 2001
From: wzx <wuzx1226@qq.com>
Date: Tue, 25 Oct 2022 09:06:08 +0800
Subject: [PATCH] Add sw64 architecture
Add sw64 architecture parallel to alpha architecture in file missing_fcntl.h to make it possible on sw64 servers.
Signed-off-by: wzx <wuzx1226@qq.com>
---
src/libnm-systemd-shared/src/basic/missing_fcntl.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/libnm-systemd-shared/src/basic/missing_fcntl.h b/src/libnm-systemd-shared/src/basic/missing_fcntl.h
index 00937d2..547891c 100644
--- a/src/libnm-systemd-shared/src/basic/missing_fcntl.h
+++ b/src/libnm-systemd-shared/src/basic/missing_fcntl.h
@@ -43,7 +43,7 @@
*/
#ifndef __O_TMPFILE
-#if defined(__alpha__)
+#if defined(__alpha__) || defined(__sw_64__)
#define __O_TMPFILE 0100000000
#elif defined(__parisc__) || defined(__hppa__)
#define __O_TMPFILE 0400000000
--
2.33.0
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/roygiteee/NetworkManager.git
git@gitee.com:roygiteee/NetworkManager.git
roygiteee
NetworkManager
NetworkManager
master

搜索帮助