mirror of
https://github.com/sqlite/sqlite.git
synced 2025-11-12 13:01:09 +03:00
Use the UNICODE_STRING_MAX_CHARS constant from WinNT.h.
FossilOrigin-Name: 3fefe4dd43539ec7e525ef58f0bfeffd31288ebd
This commit is contained in:
@@ -69,10 +69,10 @@
|
||||
|
||||
/*
|
||||
** Maximum pathname length (in chars) for WinNT. This should normally be
|
||||
** 32767.
|
||||
** UNICODE_STRING_MAX_CHARS.
|
||||
*/
|
||||
#ifndef SQLITE_WINNT_MAX_PATH_CHARS
|
||||
# define SQLITE_WINNT_MAX_PATH_CHARS (32767)
|
||||
# define SQLITE_WINNT_MAX_PATH_CHARS (UNICODE_STRING_MAX_CHARS)
|
||||
#endif
|
||||
|
||||
/*
|
||||
@@ -86,7 +86,7 @@
|
||||
|
||||
/*
|
||||
** Maximum pathname length (in bytes) for WinNT. This should normally be
|
||||
** 32767 * sizeof(WCHAR).
|
||||
** UNICODE_STRING_MAX_CHARS * sizeof(WCHAR).
|
||||
*/
|
||||
#ifndef SQLITE_WINNT_MAX_PATH_BYTES
|
||||
# define SQLITE_WINNT_MAX_PATH_BYTES \
|
||||
|
||||
Reference in New Issue
Block a user