Commit e995cd92 authored by Denis Krjuchkov's avatar Denis Krjuchkov

Path: define MPD_PATH_MAX to 260 on Windows

parent 292d7c3f
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment