summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/pciaccess.h2
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