John Marriott wrote:
> However, putting the definitions around some ifdefs works for me, like > so (see attached): > <snip> > #ifdef _WIN64 > typedef unsigned __int64 long_u; > typedef __int64 long_i; > # if defined(__GNUC__) && !defined(__clang__) Any specified reason you exclude clang here? I thought it was using the same runtime library. > # define SCANF_HEX_LONG_U "%zx" > # define SCANF_DECIMAL_LONG_U "%zu" > # define PRINTF_HEX_LONG_U "0x%zx" > # else > # define SCANF_HEX_LONG_U "%Ix" > # define SCANF_DECIMAL_LONG_U "%Iu" > # define PRINTF_HEX_LONG_U "0x%Ix" > # endif -- hundred-and-one symptoms of being an internet addict: 84. Books in your bookcase bear the names Bongo, WinSock and Inside OLE /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ an exciting new programming language -- http://www.Zimbu.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org /// -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/vim_dev/202005092111.049LB2xd024498%40masaka.moolenaar.net.
