Web lists-archives.com

Re: [Mingw-users] I need a compatible stat64

> Date: Mon, 4 Jan 2016 22:02:20 -0800
> From: Greg Jung <gvjung@xxxxxxxxx>
> I'm building a program that uses a subroutine with a lot of file access,
> several months back - compiling using mingw-w64 - I switched the use
> of stat() to that of stat64() in order to get a 64-bit file size. This works
> fine
> in mingw-w64, cygwin, and linux but I find now it is invalid in this 
> mingw. Can someone suggest a viable workaround? 

What version of the MinGW runtime do you have?

In any case, I think you want _stat64, not stat64.  Just look at
what's in your sys/stat.h header file, and take it from there.

MinGW-users mailing list

This list observes the Etiquette found at 
We ask that you be polite and do the same.  Disregard for the list etiquette may cause your account to be moderated.

You may change your MinGW Account Options or unsubscribe at:
Also: mailto:mingw-users-request@xxxxxxxxxxxxxxxxxxxxx?subject=unsubscribe