Hi,

2013/9/30 Mon 2:05:38 UTC+9 Bram Moolenaar wrote:
> Patch 7.4.044 (after 7.4.039)
> Problem:    Can't build with old MSVC. (Wang Shoulin)
> Solution:   Define OPEN_OH_ARGTYPE instead of using intptr_t directly.
> Files:            src/os_mswin.c

        (snip)

> + #if (_MSC_VER >= 1300)
> + # define OPEN_OH_ARGTYPE intptr_t
> + #else
> + # define OPEN_OH_ARGTYPE long
> + #endif

MinGW also supports intptr_t, so condition for MinGW is needed.

Regards,
Ken Takata

-- 
-- 
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].
For more options, visit https://groups.google.com/groups/opt_out.
# HG changeset patch
# Parent cbf36118ff2c5de6cabb3c212976b67c10dc053d
diff --git a/src/os_mswin.c b/src/os_mswin.c
--- a/src/os_mswin.c
+++ b/src/os_mswin.c
@@ -498,7 +498,7 @@
     }
 }
 
-#if (_MSC_VER >= 1300)
+#if (defined(_MSC_VER) && (_MSC_VER >= 1300)) || defined(__MINGW32__)
 # define OPEN_OH_ARGTYPE intptr_t
 #else
 # define OPEN_OH_ARGTYPE long

Raspunde prin e-mail lui