Bo Peng <[EMAIL PROTECTED]> writes: > Index: src/support/package.C.in > =================================================================== > --- src/support/package.C.in (revision 13941) > +++ src/support/package.C.in (working copy) > <at> <at> -26,7 +26,11 <at> <at> > > #if defined (USE_WINDOWS_PACKAGING) > # include "support/os_win32.h" > +// PATH_MAX is not defined? (msvc) > +#ifndef PATH_MAX > +#define PATH_MAX 512 > #endif > +#endif
I think that it's perfectly reasonable to use MAX_PATH in the Windows-specific bits of this file. I tried to do that (with Rob Bearman's prompting) first time around, but PATH_MAX slips back in occassionaly... Angus