vlc | branch: master | Rémi Denis-Courmont <[email protected]> | Wed Feb  1 
19:30:48 2012 +0200| [0acd892b3308e23d640343d2cc3022957eaf4fda] | committer: 
Rémi Denis-Courmont

Win32: some compilers fail to define stat correctly

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=0acd892b3308e23d640343d2cc3022957eaf4fda
---

 include/vlc_fs.h |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/include/vlc_fs.h b/include/vlc_fs.h
index 01b0c3c..498eed1 100644
--- a/include/vlc_fs.h
+++ b/include/vlc_fs.h
@@ -65,6 +65,9 @@ static inline void vlc_rewinddir( DIR *dir )
 # define rewinddir vlc_rewinddir
 
 # include <sys/stat.h>
+# ifndef stat
+#  define stat _stati64
+# endif
 #endif
 
 struct stat;

_______________________________________________
vlc-commits mailing list
[email protected]
http://mailman.videolan.org/listinfo/vlc-commits

Reply via email to