[SDL] Re: Compilation on unix systems without X-Windows (PATCH)

Jess JessH at lbjhs.net
Sat Apr 22 03:14:36 PDT 2000


oh, i wasnt thinking, hmm, can you think of any way to do this? would be
beter to not asume unix means X11

Sam Lantinga wrote:

> > diff -urN SDL-1.1/include/SDL_syswm.h SDL-1.1.new/include/SDL_syswm.h
> > --- SDL-1.1/include/SDL_syswm.h Thu Mar 16 09:20:37 2000
> > +++ SDL-1.1.new/include/SDL_syswm.h     Wed Apr 12 09:08:33 2000
> > @@ -49,7 +49,7 @@
> >  #else
>
> >  /* This is the structure for custom window manager events */
> > -#if defined(unix) || defined(__unix__) || defined(_AIX)
> > +#if defined(ENABLE_X11)
>
> Remember this header is included by application code which doesn't
> have access to the SDL configure macros, so this won't work.
>
> See ya,
>         -Sam Lantinga, Lead Programmer, Loki Entertainment Software




More information about the SDL mailing list