Support for this attribute is added in the 12.4 beta release.

Signed-off-by: Alan Coopersmith <[email protected]>
---
 include/pciaccess.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/pciaccess.h b/include/pciaccess.h
index 22faf89..cd87dbb 100644
--- a/include/pciaccess.h
+++ b/include/pciaccess.h
@@ -59,7 +59,7 @@
 
 #include <inttypes.h>
 
-#if __GNUC__ >= 3
+#if (__GNUC__ >= 3) || (defined(__SUNPRO_C) && (__SUNPRO_C >= 0x5130))
 #define __deprecated __attribute__((deprecated))
 #else
 #define __deprecated
-- 
1.7.9.2

_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to