Support for this attribute is added in the 12.4 beta release. Signed-off-by: Alan Coopersmith <[email protected]> --- Xfuncproto.h.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/Xfuncproto.h.in b/Xfuncproto.h.in index dac9229..608728f 100644 --- a/Xfuncproto.h.in +++ b/Xfuncproto.h.in @@ -116,7 +116,8 @@ in this Software without prior written authorization from The Open Group. #endif /* Added in X11R6.9, so available in any version of modular xproto */ -#if defined(__GNUC__) && ((__GNUC__ * 100 + __GNUC_MINOR__) >= 301) +#if (defined(__GNUC__) && ((__GNUC__ * 100 + __GNUC_MINOR__) >= 301)) \ + || (defined(__SUNPRO_C) && (__SUNPRO_C >= 0x5130)) # define _X_DEPRECATED __attribute__((deprecated)) #else /* not gcc >= 3.1 */ # define _X_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
