From 684f9fedec469abbfb42cb030d8806f6389255af Mon Sep 17 00:00:00 2001 From: Silent Date: Sat, 31 Aug 2019 21:52:16 +0200 Subject: [PATCH] [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. --- src/xenia/base/platform.h | 1 - 1 file changed, 1 deletion(-) diff --git a/src/xenia/base/platform.h b/src/xenia/base/platform.h index 54caae98f..e08443fdc 100644 --- a/src/xenia/base/platform.h +++ b/src/xenia/base/platform.h @@ -95,7 +95,6 @@ namespace xe { #if XE_PLATFORM_WIN32 const char kPathSeparator = '\\'; const wchar_t kWPathSeparator = L'\\'; -const size_t kMaxPath = 260; // _MAX_PATH #else const char kPathSeparator = '/'; const wchar_t kWPathSeparator = L'/';