diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/fs/Path.hxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/fs/Path.hxx b/src/fs/Path.hxx index 926b6eafb..0b51983f6 100644 --- a/src/fs/Path.hxx +++ b/src/fs/Path.hxx @@ -33,7 +33,9 @@ #include <limits.h> #if !defined(MPD_PATH_MAX) -# if defined(MAXPATHLEN) +# if defined(WIN32) +# define MPD_PATH_MAX 260 +# elif defined(MAXPATHLEN) # define MPD_PATH_MAX MAXPATHLEN # elif defined(PATH_MAX) # define MPD_PATH_MAX PATH_MAX |