Commit 5b877e45 authored by Naohiro KORIYAMA's avatar Naohiro KORIYAMA Committed by Rafaël Carré

Win32: define fstat as well as stat

Fix wrong result of stream_Size() on win32 build.
Signed-off-by: default avatarRafaël Carré <funman@videolan.org>
parent 459c7988
......@@ -69,6 +69,9 @@ static inline void vlc_rewinddir( DIR *dir )
# ifndef stat
# define stat _stati64
# endif
# ifndef fstat
# define fstat _fstati64
# endif
# endif
#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