mirror of
https://github.com/vim/vim.git
synced 2025-10-01 04:54:07 -04:00
patch 8.2.0727: MS-Windows: new gcc compiler does not support scanf format
Problem: MS-Windows: new gcc compiler does not support scanf format. Solution: Use "%ll" instead of "%I". (Ken Takata)
This commit is contained in:
@@ -746,6 +746,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
727,
|
||||||
/**/
|
/**/
|
||||||
726,
|
726,
|
||||||
/**/
|
/**/
|
||||||
|
@@ -340,9 +340,9 @@ typedef unsigned int int_u;
|
|||||||
#ifdef _WIN64
|
#ifdef _WIN64
|
||||||
typedef unsigned __int64 long_u;
|
typedef unsigned __int64 long_u;
|
||||||
typedef __int64 long_i;
|
typedef __int64 long_i;
|
||||||
# define SCANF_HEX_LONG_U "%Ix"
|
# define SCANF_HEX_LONG_U "%llx"
|
||||||
# define SCANF_DECIMAL_LONG_U "%Iu"
|
# define SCANF_DECIMAL_LONG_U "%llu"
|
||||||
# define PRINTF_HEX_LONG_U "0x%Ix"
|
# define PRINTF_HEX_LONG_U "0x%llx"
|
||||||
#else
|
#else
|
||||||
// Microsoft-specific. The __w64 keyword should be specified on any typedefs
|
// Microsoft-specific. The __w64 keyword should be specified on any typedefs
|
||||||
// that change size between 32-bit and 64-bit platforms. For any such type,
|
// that change size between 32-bit and 64-bit platforms. For any such type,
|
||||||
|
Reference in New Issue
Block a user