[PATCH 5/6] glx: Flatten -DXFree86Server
Eric Anholt
eric at anholt.net
Tue Mar 15 10:01:14 PDT 2011
On Tue, 15 Mar 2011 06:05:39 +1000, Dave Airlie <airlied at gmail.com> wrote:
> On Tue, Mar 15, 2011 at 5:31 AM, Adam Jackson <ajax at redhat.com> wrote:
> > Always defined by the makefile, so, just get rid of it.
> >
> > Signed-off-by: Adam Jackson <ajax at redhat.com>
> > ---
> > glx/Makefile.am | 1 -
> > glx/glapi.c | 43 -------------------------------------------
> > 2 files changed, 0 insertions(+), 44 deletions(-)
> >
[...]
> > diff --git a/glx/glapi.c b/glx/glapi.c
> > index dcebc56..4bb07e2 100644
> > --- a/glx/glapi.c
> > +++ b/glx/glapi.c
> > @@ -231,9 +231,6 @@ _glapi_get_dispatch(void)
> > # endif
> > #endif
> >
> > -#if !defined(DISPATCH_FUNCTION_SIZE) && !defined(XFree86Server) && !defined(XGLServer)
> > -# define NEED_FUNCTION_POINTER
> > -#endif
> >
> > /* The code in this file is auto-generated with Python */
>
> ^^^
>
> Do we reaally want to clean this up or the generator scripts?
This particular file sure looks like it shouldn't be auto-generated.
It's just a big pile of ifdefs and not much really to it.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg-devel/attachments/20110315/7c012317/attachment.pgp>
More information about the xorg-devel
mailing list