Index: src/support/package.C.in
===================================================================
--- src/support/package.C.in    (revision 14695)
+++ src/support/package.C.in    (working copy)
@@ -44,6 +44,10 @@
 # include <CoreServices/CoreServices.h> // FSFindFolder, FSRefMakePath
 #endif
+#ifndef PATH_MAX
+# define PATH_MAX 512
+#endif
+
 using std::string;
namespace fs = boost::filesystem;

Why not use MAX_PATH instead of PATH_MAX in the Windows part of this file?

Joost

Reply via email to