Subject: Re: [PATCH] Replace hard-coded path with one from <paths.h>

From: Chris Webb <[email-masked]>
Date: Thu, 8 Apr 2010 11:58:51 +0100

Erik Faye-Lund <[email-masked]> writes:

> > +#include <paths.h>
> 
> This breaks on Windows due to missing paths.h. I guess you need some
> guard to detect if the header is present or not.

Is this true of all WIN32, or just __MINGW32__ / __CYGWIN__? Presumably
/usr/local/bin:/usr/bin:/bin is the wrong default PATH on windows too, so
perhaps I should sort that at the same point---what would a canonical
default PATH be for Windows?

Cheers,

Chris.