fs/Path: move MPD_PATH_MAX to Limits.hxx

This commit is contained in:
Max Kellermann
2013-10-17 22:00:01 +02:00
parent 58502b38d3
commit 354b5a9365
8 changed files with 46 additions and 14 deletions

View File

@@ -32,19 +32,6 @@
#include <assert.h>
#include <string.h>
#include <limits.h>
#if !defined(MPD_PATH_MAX)
# 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
# else
# define MPD_PATH_MAX 256
# endif
#endif
class Error;