0
0
mirror of https://github.com/vim/vim.git synced 2025-09-24 03:44:06 -04:00

updated for version 7.4b.007

Problem:    On 32 bit MS-Windows :perldo does not work.
Solution:   Make sure time_t uses 32 bits. (Ken Takata)
This commit is contained in:
Bram Moolenaar
2013-08-02 16:10:32 +02:00
parent a946afe075
commit aee1f4a5b5
3 changed files with 16 additions and 4 deletions

View File

@@ -13,8 +13,22 @@
#define _memory_h /* avoid memset redeclaration */
#define IN_PERL_FILE /* don't include if_perl.pro from proto.h */
/*
* Currently 32-bit version of ActivePerl is built with VC6.
* (http://community.activestate.com/faq/windows-compilers-perl-modules)
* It means that time_t should be 32-bit. However the default size of
* time_t is 64-bit since VC8. So we have to define _USE_32BIT_TIME_T.
*/
#if defined(WIN32) && !defined(_WIN64)
# define _USE_32BIT_TIME_T
#endif
#include "vim.h"
#include <EXTERN.h>
#include <perl.h>
#include <XSUB.h>
/*
* Work around clashes between Perl and Vim namespace. proto.h doesn't

View File

@@ -727,6 +727,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
7,
/**/
6,
/**/

View File

@@ -2180,10 +2180,6 @@ typedef int VimClipboard; /* This is required for the prototypes. */
/* Borland has the structure stati64 but not _stati64 */
# define _stati64 stati64
# endif
# include <EXTERN.h>
# include <perl.h>
# include <XSUB.h>
#endif
/* values for vim_handle_signal() that are not a signal */