diff options
author | Bram Moolenaar <Bram@vim.org> | 2008-03-16 15:04:34 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2008-03-16 15:04:34 +0000 |
commit | cb4cef2206b19e5d8737580eee29b44f45cb7de1 (patch) | |
tree | b1b913a81d81e668f2c33ba5fde0de5255cdae6a /src/vim.h | |
parent | 0fde290e55feb8f3505c790c8ce9b5302893dfae (diff) | |
download | vim-git-cb4cef2206b19e5d8737580eee29b44f45cb7de1.tar.gz |
updated for version 7.1-283v7.1.283
Diffstat (limited to 'src/vim.h')
-rw-r--r-- | src/vim.h | 19 |
1 files changed, 11 insertions, 8 deletions
@@ -355,16 +355,19 @@ typedef unsigned int int_u; * On Win64 longs are 32 bit and pointers 64 bit. * For printf() and scanf() we need to take care of long_u specifically. */ #ifdef _WIN64 -typedef unsigned __int64 long_u; -typedef __int64 long_i; -# define SCANF_HEX_LONG_U "%Ix" -# define PRINTF_HEX_LONG_U "0x%Ix" +typedef unsigned __int64 long_u; +typedef __int64 long_i; +# define SCANF_HEX_LONG_U "%Ix" +# define SCANF_DECIMAL_LONG_U "%Iu" +# define PRINTF_HEX_LONG_U "0x%Ix" #else -typedef unsigned long long_u; -typedef long long_i; -# define SCANF_HEX_LONG_U "%lx" -# define PRINTF_HEX_LONG_U "0x%lx" +typedef unsigned long long_u; +typedef long long_i; +# define SCANF_HEX_LONG_U "%lx" +# define SCANF_DECIMAL_LONG_U "%lu" +# define PRINTF_HEX_LONG_U "0x%lx" #endif +#define PRINTF_DECIMAL_LONG_U SCANF_DECIMAL_LONG_U /* * The characters and attributes cached for the screen. |