FreeBSD Bugzilla – Attachment 88892 Details for
Bug 125747
Compilation error in editors/vim (vim-7.1.330)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
patch-02
patch-02 (text/plain; charset=us-ascii), 1.26 KB, created by
Martin Neubauer
on 2008-07-21 13:42:21 UTC
(
hide
)
Description:
patch-02
Filename:
MIME Type:
Creator:
Martin Neubauer
Created:
2008-07-21 13:42:21 UTC
Size:
1.26 KB
patch
obsolete
>*** vim.h.orig Sat Mar 15 13:10:57 2008 >--- vim.h Thu Mar 13 23:39:21 2008 >*************** >*** 355,370 **** > * 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" >! #else >! typedef unsigned long long_u; >! typedef long long_i; >! # define SCANF_HEX_LONG_U "%lx" >! # define PRINTF_HEX_LONG_U "0x%lx" > #endif > > /* > * The characters and attributes cached for the screen. >--- 355,373 ---- > * 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 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 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.
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 125747
: 88892