From ba11085ddc055a60ea2bbd03f8acf205ff95f64e Mon Sep 17 00:00:00 2001 From: Arkshine Date: Mon, 9 Mar 2015 00:48:28 +0100 Subject: [PATCH] VFS: Add constant in pawn include to define max path --- plugins/include/file.inc | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/plugins/include/file.inc b/plugins/include/file.inc index 82016380..2ac10e3e 100755 --- a/plugins/include/file.inc +++ b/plugins/include/file.inc @@ -16,6 +16,19 @@ #endif #define _file_included +/** + * @note All paths in AMX Mod X natives are relative to the mod folder + * unless otherwise noted. + * + * Most functions in AMX Mod X (at least, ones that deal with direct + * file manipulation) will support an alternate path specification. + */ + +/** + * Maximum path length. + */ +#define PLATFORM_MAX_PATH 256 + /** * File inode types for use with open_dir() and next_file(). */