diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2014-05-09 19:25:10 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2014-05-31 15:17:41 -0700 |
commit | ee4e253a3f1a62e2f3f89f5339590fd4e6cde7c4 (patch) | |
tree | 1316ef54956fe108785dfc22533dc3cbfe88480a | |
parent | b9c068896914b4132a24839c9ef7f9fcd6282d88 (diff) |
Enable use of __attribute__((deprecated)) with Solaris Studio 12.4 compiler
Support for this attribute is added in the 12.4 beta release.
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r-- | include/pciaccess.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/pciaccess.h b/include/pciaccess.h index 22faf89..1d7aa4b 100644 --- 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 |