1
0
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:
mistachkin
2013-11-09 21:11:36 +00:00
parent fd4b90be1a
commit dc7b05558a
3 changed files with 10 additions and 10 deletions

View File

@@ -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 \