diff -r 5c8f45e980ed -r 583a23434070 plugins/include/files.inc --- a/plugins/include/files.inc Mon Jan 01 21:31:09 2007 +0000 +++ b/plugins/include/files.inc Mon Jan 01 21:46:33 2007 +0000 @@ -16,6 +16,7 @@ FileType_File = 2, /* File is a file */ }; +#define PLATFORM_MAX_PATH 256 /** * @brief Opens a directory/folder for contents enumeration. @@ -39,4 +40,4 @@ * @return True on success, false if there are no more files to read. * @error Invalid or corrupt Handle. */ -native bool:ReadDirEntry(Handle:dir, String:buffer[], maxlength, &FileType:type=0); +native bool:ReadDirEntry(Handle:dir, String:buffer[], maxlength, &FileType:type=FileType_Unknown);