1.1 --- a/plugins/include/files.inc Mon Jan 01 21:31:09 2007 +0000
1.2 +++ b/plugins/include/files.inc Mon Jan 01 21:46:33 2007 +0000
1.3 @@ -16,6 +16,7 @@
1.4 FileType_File = 2, /* File is a file */
1.5 };
1.6
1.7 +#define PLATFORM_MAX_PATH 256
1.8
1.9 /**
1.10 * @brief Opens a directory/folder for contents enumeration.
1.11 @@ -39,4 +40,4 @@
1.12 * @return True on success, false if there are no more files to read.
1.13 * @error Invalid or corrupt Handle.
1.14 */
1.15 -native bool:ReadDirEntry(Handle:dir, String:buffer[], maxlength, &FileType:type=0);
1.16 +native bool:ReadDirEntry(Handle:dir, String:buffer[], maxlength, &FileType:type=FileType_Unknown);