Path: define MPD_PATH_MAX to 260 on Windows
This commit is contained in:
parent
292d7c3fdf
commit
e995cd928c
@ -33,7 +33,9 @@
|
|||||||
#include <limits.h>
|
#include <limits.h>
|
||||||
|
|
||||||
#if !defined(MPD_PATH_MAX)
|
#if !defined(MPD_PATH_MAX)
|
||||||
# if defined(MAXPATHLEN)
|
# if defined(WIN32)
|
||||||
|
# define MPD_PATH_MAX 260
|
||||||
|
# elif defined(MAXPATHLEN)
|
||||||
# define MPD_PATH_MAX MAXPATHLEN
|
# define MPD_PATH_MAX MAXPATHLEN
|
||||||
# elif defined(PATH_MAX)
|
# elif defined(PATH_MAX)
|
||||||
# define MPD_PATH_MAX PATH_MAX
|
# define MPD_PATH_MAX PATH_MAX
|
||||||
|
Loading…
Reference in New Issue
Block a user