1 Star 0 Fork 28

lihaoxiang/libaio

forked from src-openEuler/libaio 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
0001-libaio-arm64-ilp32.patch 1.31 KB
一键复制 编辑 原始数据 按行查看 历史
wangzhiqiang 提交于 2022-10-28 14:58 . update to 0.3-113
From 723d28d8ec87d0c89a7c360c29f79b1b5644695d Mon Sep 17 00:00:00 2001
From: wangzhiqiang <wangzhiqiang95@huawei.com>
Date: Fri, 28 Oct 2022 17:06:54 +0800
Subject: [PATCH] libaio arm64 ilp32
---
src/libaio.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/libaio.h b/src/libaio.h
index 24b4b8a..07bda2a 100644
--- a/src/libaio.h
+++ b/src/libaio.h
@@ -55,6 +55,7 @@ typedef enum io_iocb_cmd {
defined(__sh__) || defined(__bfin__) || defined(__MIPSEL__) || \
defined(__cris__) || defined(__loongarch32) || \
(defined(__riscv) && __riscv_xlen == 32) || \
+ (defined(__aarch64__) && defined(__ILP32__) && defined(__AARCH64EL__)) || \
(defined(__GNUC__) && defined(__BYTE_ORDER__) && \
__BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__ && __SIZEOF_LONG__ == 4)
#define PADDED(x, y) x; unsigned y
@@ -87,6 +88,7 @@ typedef enum io_iocb_cmd {
(defined(__arm__) && defined(__ARMEB__)) || \
defined(__sparc__) || defined(__MIPSEB__) || defined(__m68k__) || \
defined(__hppa__) || defined(__frv__) || defined(__avr32__) || \
+ (defined(__aarch64__) && defined(__ILP32__) && defined(__AARCH64EB__)) || \
(defined(__GNUC__) && defined(__BYTE_ORDER__) && \
__BYTE_ORDER__ == __ORDER_BIG_ENDIAN__ && __SIZEOF_LONG__ == 4)
#define PADDED(x, y) unsigned y; x
--
2.33.0
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/handsome_brother/libaio.git
git@gitee.com:handsome_brother/libaio.git
handsome_brother
libaio
libaio
master

搜索帮助