[SDL] Re: sdl windows position on screen

Bill May wmay at cisco.com
Wed Nov 9 12:41:58 PST 2005


Ricardo Cruz wrote:
> Hi there,
> 
>  This is not really related with this specific problem, but just a couple of 
> questions that have jumped my mind before:
> 
> * If you use X11 library functions do you need to append a -lXlib yourself or 
> the -lSDL is enough?

sdl-config --libs has always been enough.  Since SDL links to it, libtool
should pick it up.


> * Is there any environment define to know if this is a Unix system we are 
> compiling in... I generally end up using "#ifndef WIN32".
>

I've just used #ifdef unix, but ifndef _WIN32 works as well.

Bill




More information about the SDL mailing list