Skip to content

Commit

Permalink
PR69298: "attribute "format" is unknown, ignored"
Browse files Browse the repository at this point in the history
since 1.7.5, on solaris with Oracle Developer Studio



git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1920680 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
covener committed Sep 15, 2024
1 parent dfab1b5 commit 006149d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/apr.h.in
Original file line number Diff line number Diff line change
Expand Up @@ -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__ */
Expand Down

0 comments on commit 006149d

Please sign in to comment.