mirror of
https://github.com/MariaDB/server.git
synced 2026-04-23 08:45:33 +02:00
Fix failing sys_vars.plugin_dir_basic - treat both '/' and '\' as path separators in get_relative_path() on Windows
This commit is contained in:
parent
c514d75ebb
commit
b4d6a13510
2 changed files with 3 additions and 1 deletions
|
|
@ -818,12 +818,14 @@ typedef SOCKET_SIZE_TYPE size_socket;
|
|||
|
||||
#ifdef _WIN32
|
||||
#define FN_LIBCHAR '\\'
|
||||
#define FN_LIBCHAR2 '/'
|
||||
#define FN_ROOTDIR "\\"
|
||||
#define FN_DEVCHAR ':'
|
||||
#define FN_NETWORK_DRIVES /* Uses \\ to indicate network drives */
|
||||
#define FN_NO_CASE_SENCE /* Files are not case-sensitive */
|
||||
#else
|
||||
#define FN_LIBCHAR '/'
|
||||
#define FN_LIBCHAR2 '/'
|
||||
#define FN_ROOTDIR "/"
|
||||
#endif
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue