Ai
16 Star 0 Fork 7

ocs-commit/apr

forked from OpenCloudOS Stream/apr 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
6a2993b9493bff7b6b20858730cba16a218e46b1.patch 951 Bytes
一键复制 编辑 原始数据 按行查看 历史
ocs-bot 提交于 2025-02-06 15:16 +08:00 . - [Type] bugfix
From 6a2993b9493bff7b6b20858730cba16a218e46b1 Mon Sep 17 00:00:00 2001
From: Eric Covener <covener@apache.org>
Date: Sun, 15 Sep 2024 14:33:14 +0000
Subject: [PATCH] Merge r1920680 from trunk:
PR69298: "attribute "format" is unknown, ignored"
since 1.7.5, on solaris with Oracle Developer Studio
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/branches/1.7.x@1920681 13f79535-47bb-0310-9956-ffa450edef68
---
include/apr.h.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/apr.h.in b/include/apr.h.in
index c5bb22779d..637ed38771 100644
--- a/include/apr.h.in
+++ b/include/apr.h.in
@@ -68,7 +68,7 @@
* necessarily __attribute__ (e.g. builtin), so check for both to
* avoid overriding __attribute__.
*/
-#if !(defined(__attribute__) || defined(__has_attribute))
+#if !(defined(__attribute__) || defined(__has_attribute)) || defined(__SUNPRO_C)
#define __attribute__(__x)
#endif
#endif /* !__GNUC__ */
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/ocs-commit/apr.git
git@gitee.com:ocs-commit/apr.git
ocs-commit
apr
apr
master

搜索帮助