OSDN Git Service
(root)
/
android-x86
/
external-libpciaccess.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b9c0688
)
Enable use of __attribute__((deprecated)) with Solaris Studio 12.4 compiler
author
Alan Coopersmith
<alan.coopersmith@oracle.com>
Sat, 10 May 2014 02:25:10 +0000
(19:25 -0700)
committer
Alan Coopersmith
<alan.coopersmith@oracle.com>
Sat, 31 May 2014 22:17:41 +0000
(15:17 -0700)
Support for this attribute is added in the 12.4 beta release.
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
include/pciaccess.h
patch
|
blob
|
history
diff --git
a/include/pciaccess.h
b/include/pciaccess.h
index
22faf89
..
1d7aa4b
100644
(file)
--- a/
include/pciaccess.h
+++ b/
include/pciaccess.h
@@
-59,7
+59,7
@@
#include <inttypes.h>
-#if
__GNUC__ >= 3
+#if
(__GNUC__ >= 3) || (__SUNPRO_C >= 0x5130)
#define __deprecated __attribute__((deprecated))
#else
#define __deprecated