From e995cd928c40ecea22fd4d1e3716bb9a656a5430 Mon Sep 17 00:00:00 2001 From: Denis Krjuchkov Date: Thu, 24 Jan 2013 00:53:53 +0600 Subject: Path: define MPD_PATH_MAX to 260 on Windows --- src/fs/Path.hxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 #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 -- cgit v1.2.3