Julien Cristau [2010-06-10 23:50]: > Introduce a new internal header since that doesn't seem to exist yet. > Or maybe I should rename xf86atomic.h instead. > --- > xf86drm-internals.h | 12 ++++++++++++ > 1 files changed, 12 insertions(+), 0 deletions(-) > create mode 100644 xf86drm-internals.h > > diff --git a/xf86drm-internals.h b/xf86drm-internals.h > new file mode 100644 > index 0000000..bf5ff51 > --- /dev/null > +++ b/xf86drm-internals.h > @@ -0,0 +1,12 @@ > +#ifndef XF86DRM_INTERNALS_H > +#define XF86DRM_INTERNALS_H > + > +#if defined(__GNUC__) && (__GNUC__ >= 4) > +# define _DRM_HIDDEN __attribute__((visibility("hidden"))) > +#elif defined(__SUNPRO_C) && (__SUNPRO_C >= 0x550) > +# define _DRM_HIDDEN __hidden > +#else /* not gcc >= 4 and not Sun Studio >= 8 */ > +# define _X_HIDDEN ^^^^^^^^^ This should say _DRM_HIDDEN, I guess :) > +#endif /* GNUC >= 4 */ > + > +#endif > -- > 1.7.1 Regards, Tilman -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail?
Attachment:
pgpxu8d618lmZ.pgp
Description: PGP signature
_______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/dri-devel