[libdvdnav-devel] Win32: kill warnings about redefinition of fstat|wstat

Jean-Baptiste Kempf git at videolan.org
Mon Aug 4 23:07:57 CEST 2014


libdvdread | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Mon Aug  4 23:07:18 2014 +0200| [620e5464f16dc110d850a207769d512b573f000d] | committer: Jean-Baptiste Kempf

Win32: kill warnings about redefinition of fstat|wstat

> http://git.videolan.org/gitweb.cgi/libdvdread.git/?a=commit;h=620e5464f16dc110d850a207769d512b573f000d
---

 src/dvd_input.h |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/dvd_input.h b/src/dvd_input.h
index 5f0fbf4..c22fada 100644
--- a/src/dvd_input.h
+++ b/src/dvd_input.h
@@ -38,7 +38,9 @@ typedef struct dvd_input_s *dvd_input_t;
 #   define off_t off64_t
 #   undef  stat
 #   define stat  _stati64
+#   undef  fstat
 #   define fstat _fstati64
+#   undef  wstat
 #   define wstat _wstati64
 #endif
 



More information about the libdvdnav-devel mailing list