Reviewed-by: Jeremy Huddleston <[email protected]> On Dec 8, 2009, at 05:14, Tomas Carnecky wrote:
> Since this attribute has been supported since GCC 2.5 only check the presence > of the GNU C compiler but not its version. > > Signed-off-by: Tomas Carnecky <[email protected]> > --- > Xfuncproto.h.in | 6 ++++++ > 1 files changed, 6 insertions(+), 0 deletions(-) > > diff --git a/Xfuncproto.h.in b/Xfuncproto.h.in > index 0843491..7623356 100644 > --- a/Xfuncproto.h.in > +++ b/Xfuncproto.h.in > @@ -117,4 +117,10 @@ in this Software without prior written authorization > from The Open Group. > # define _X_DEPRECATED > #endif > > +#if defined(__GNUC__) > +# define _X_NORETURN __attribute__((noreturn)) > +#else > +# define _X_NORETURN > +#endif > + > #endif /* _XFUNCPROTO_H_ */ > -- > 1.6.5.5 > > > _______________________________________________ > xorg-devel mailing list > [email protected] > http://lists.x.org/mailman/listinfo/xorg-devel
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ xorg-devel mailing list [email protected] http://lists.x.org/mailman/listinfo/xorg-devel
