[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:
parent
f392347673
commit
684f9fedec
|
@ -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'/';
|
||||||
|
|
Loading…
Reference in New Issue