Skip to content

Commit

Permalink
Merge r1920680 from trunk:
Browse files Browse the repository at this point in the history
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
  • Loading branch information
covener committed Sep 15, 2024
1 parent 191479a commit 6a2993b
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 6a2993b

Please sign in to comment.