Aaron Bannert <[EMAIL PROTECTED]> writes:

> On Sat, Nov 17, 2001 at 03:51:10PM -0500, Jeff Trawick wrote:
> > > +#include <apr_thread_mutex.h>
> > 
> > just curious... why angle brackets instead of quotes?  practically all
> > includes of apr_foo.h in apache and apr-util use quotes
> 
> I never really understood why we're using the #include "" syntax for
> APR includes, when APR is considered an external support library. Paths
> to those includes have to be specified in the -I/path option anyway,
> no? Any particular reason to use quotes instead?

I can't think of a reason in 2001.  I used to use a compiler that was
very picky about the distinction between "" and <>.  It would only
look in the compiler installation directories for <> files, but it
would look in the user-specified search path for "" files.  Thus, I
get nervous when I see non-system-supplied includes in <>.  But it has
been some years since I have encountered such a problem, so that
doesn't seem like a reason to stick with "".

Consistency, on the other hand, ... :)

-- 
Jeff Trawick | [EMAIL PROTECTED] | PGP public key at web site:
       http://www.geocities.com/SiliconValley/Park/9289/
             Born in Roswell... married an alien...

Reply via email to