61808Re: [Bug][w32] Completion for "filetype" doesn't work on windows
- Jun 27, 2011On 26/06/2011 05:46, John Beckett wrote:
> In case it is not known (I am not complaining), note thatAh, these macros came in with compilers that supported 64 bit builds, I
> compiling gvim on Windows with the old MSVC 6.0 gives an error
> for gui_w32.c since 'HandleToLong' is undefined. HandleToLong
> was introduced in patch 7.3.206.
guess pre VC8. Try the following:
diff --git a/src/gui_w32.c b/src/gui_w32.c
@@ -1574,6 +1574,11 @@ gui_mch_init(void)
+#if _MSC_VER < 1400
+/* HandleTolong only exists in compilers that can do 64 bit builds */
+#define HandleToLong(h) ((long)(h))
/* set the v:windowid variable */
Money talks, but having lots of it gets more attention.
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
- << Previous post in topic Next post in topic >>