[SDL] Demo glitch
Owen.Butler at throughput.com.au
Wed Jan 22 15:22:01 PST 2003
It is my understanding that #include "foo.h" searches inside user specified
include dir's, THEN the system include paths. <> goes straight to the
system include paths.
> -----Original Message-----
> From: sdl-admin at libsdl.org [mailto:sdl-admin at libsdl.org]On Behalf Of
> Sent: Thursday, 23 January 2003 9:59 AM
> To: SDL Mailing List
> Subject: Re: [SDL] Demo glitch
> I've been meaning to ask about this. Sorry if it's a little off topic.
> All the documentation I've ever seen on include says that include ""
> looks in the including file's directory, and that include <> should be
> used for path searching.
> Did I miss something?
> On Wed, 2003-01-22 at 00:24, Sam Lantinga wrote:
> > > Hi Sam,
> > > In this demo:
> > > http://www.libsdl.org/projects/gtk-demo/
> > > I think you want:
> > > -#include "SDL.h"
> > > +#include <SDL/SDL.h>
> > No, using "SDL.h" is the portable method. See the FAQ.
> > -Sam Lantinga, Software Engineer, Blizzard Entertainment
> > _______________________________________________
> > SDL mailing list
> > SDL at libsdl.org
> > http://www.libsdl.org/mailman/listinfo/sdl
> Jimmy <jimmy at jimmysworld.org>
> Jimmy's World.org
More information about the SDL