Hi,

2016/9/22 Thu 20:30:19 UTC+9 René Nyffenegger wrote:
> > 
> > Sure, you can modify vim.h and change size_T from _stat64 to stat and 
> > comment HAVE_STAT64,
> > 
> > this works for me
> > 
> > index a787575..308c9cd 100644
> > --- a/src/vim.h
> > +++ b/src/vim.h
> > @@ -2093,8 +2093,8 @@ typedef int VimClipboard; /* This is required for the 
> > prototypes. */
> > 
> >  /* Use 64-bit stat structure if available. */
> >  #if (defined(_MSC_VER) && (_MSC_VER >= 1300)) || defined(__MINGW32__)
> > -# define HAVE_STAT64
> > -typedef struct _stat64 stat_T;
> > +//# define HAVE_STAT64
> > +typedef struct stat stat_T;
> >  #else
> >  typedef struct stat stat_T;
> >  #endif
> 
> 
> Thank you very much, it worked.
> 
> I am wondering if something should be changed in the makefile or source code 
> so that other people compiling vim with mingw don't run into the same problem.

Isn't your MinGW a bit old? Which version from which site do you use?
Newer MinGW should have _stat64.
I recommend MinGW-w64.

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 vim_dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui