svn commit: r1920680 - /apr/apr/trunk/include/apr.h.in
| Newsgroups | gmane.comp.apache.apr.cvs |
|---|---|
| Message-ID | <[email protected]> |
Author: covener
Date: Sun Sep 15 14:31:34 2024
New Revision: 1920680
URL: http://svn.apache.org/viewvc?rev=1920680&view=rev
Log:
PR69298: "attribute "format" is unknown, ignored"
since 1.7.5, on solaris with Oracle Developer Studio
Modified:
apr/apr/trunk/include/apr.h.in
Modified: apr/apr/trunk/include/apr.h.in
URL: http://svn.apache.org/viewvc/apr/apr/trunk/include/apr.h.in?rev=1920680&r1=1920679&r2=1920680&view=diff
==============================================================================
--- apr/apr/trunk/include/apr.h.in (original)
+++ apr/apr/trunk/include/apr.h.in Sun Sep 15 14:31:34 2024
@@ -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__ */