Support long path in file access on windows

Changed windows file access file to check for path length and use the \\?\ long format when needed
This commit is contained in:
Samuele Panzeri
2023-05-05 02:12:55 +02:00
parent d023e51363
commit 59f04e16b8
6 changed files with 23 additions and 8 deletions
+1 -1
View File
@@ -81,7 +81,7 @@ protected:
static void _bind_methods();
AccessType get_access_type() const;
String fix_path(const String &p_path) const;
virtual String fix_path(const String &p_path) const;
virtual Error open_internal(const String &p_path, int p_mode_flags) = 0; ///< open a file
virtual uint64_t _get_modified_time(const String &p_file) = 0;
virtual void _set_access_type(AccessType p_access);