Path: define MPD_PATH_MAX to 260 on Windows

This commit is contained in:
Denis Krjuchkov 2013-01-24 00:53:53 +06:00
parent 292d7c3fdf
commit e995cd928c

View File

@ -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