[Base] Remove kMaxPath from Windows, it should not be used

All instances of kMaxPath or MAX_PATH being used have been removed,
and removing this constant is supposed to encourage writing code
without artificial constraints on path length.
This commit is contained in:
Silent 2019-08-31 21:52:16 +02:00 committed by Justin Moore
parent f392347673
commit 684f9fedec
1 changed files with 0 additions and 1 deletions

View File

@ -95,7 +95,6 @@ namespace xe {
#if XE_PLATFORM_WIN32 #if XE_PLATFORM_WIN32
const char kPathSeparator = '\\'; const char kPathSeparator = '\\';
const wchar_t kWPathSeparator = L'\\'; const wchar_t kWPathSeparator = L'\\';
const size_t kMaxPath = 260; // _MAX_PATH
#else #else
const char kPathSeparator = '/'; const char kPathSeparator = '/';
const wchar_t kWPathSeparator = L'/'; const wchar_t kWPathSeparator = L'/';