summaryrefslogtreecommitdiffstats
path: root/osdep/io.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-01-13 14:46:02 +0100
committerwm4 <wm4@nowhere>2013-01-13 17:32:39 +0100
commitcbdee50f29e2d1c44453f7b5ed5d67296f7a16dc (patch)
tree6d75c719c69d7e2ae47688768b04482798b58f67 /osdep/io.h
parent41dbf07fc562dbc1bd3bc58b5648b42749d69082 (diff)
downloadmpv-cbdee50f29e2d1c44453f7b5ed5d67296f7a16dc.tar.bz2
mpv-cbdee50f29e2d1c44453f7b5ed5d67296f7a16dc.tar.xz
windows support: fix _wstat misusage
I have no idea when or how this broke, but _wstati64() is the function we want anyway (64 bit filesize). Possibly this was a mingw-w64 bug. It's unknown why "wstat()" just doesn't work in this case, as it's not defined by MSDN and could be defined by mingw as it needs.
Diffstat (limited to 'osdep/io.h')
-rw-r--r--osdep/io.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/osdep/io.h b/osdep/io.h
index b69643f0e1..7554b402d4 100644
--- a/osdep/io.h
+++ b/osdep/io.h
@@ -60,7 +60,7 @@ struct dirent *mp_readdir(DIR *dir);
int mp_closedir(DIR *dir);
int mp_mkdir(const char *path, int mode);
-// NOTE: Stat is not overridden with mp_stat, because MinGW-w64 defines it as
+// NOTE: stat is not overridden with mp_stat, because MinGW-w64 defines it as
// macro.
#define printf(...) mp_printf(__VA_ARGS__)