Commit 14532988 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Really fix the stat warning (tested on Mingw32)

parent bc3593fc
......@@ -27,11 +27,6 @@
#include <stdarg.h>
#include <sys/types.h>
#ifdef HAVE_SYS_STAT_H
# include <sys/stat.h>
#else
struct stat { };
#endif
VLC_EXPORT( void, LocaleFree, ( const char * ) );
VLC_EXPORT( char *, FromLocale, ( const char * ) );
......
......@@ -449,7 +449,11 @@ typedef struct meta_engine_t meta_engine_t;
/* stat/lstat/fstat */
#ifdef WIN32
#include <sys/stat.h>
struct _stati64;
#define stat _stati64
#define fstat _fstati64
/* You should otherwise use utf8_stat and utf8_lstat. */
#else
struct stat;
#endif
......
......@@ -51,8 +51,6 @@
#endif
#if defined( WIN32 ) && !defined( UNDER_CE )
/* fstat() support for large files on win32 */
# define fstat(a,b) _fstati64(a,b)
# ifdef lseek
# undef lseek
# endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment