MingW picks the correct version according to _FILE_OFFSET_BITS.
Of course, we use 64-bits offsets for large files.
/* Meta engine */
typedef struct meta_engine_t meta_engine_t;
-#ifdef WIN32
-# include <sys/stat.h>
-
-# ifndef UNDER_CE
-struct _stati64;
-# define stat _stati64
-# define fstat _fstati64
-#endif
-#endif
-
/**
* VLC value structure
*/
VLC_API char *vlc_getcwd( void ) VLC_USED;
#if defined( WIN32 )
-# ifndef UNDER_CE
-# define stat _stati64
-# endif
static inline int vlc_closedir( DIR *dir )
{
_WDIR *wdir = *(_WDIR **)dir;