eliminate some mingw warnings
authorrogerdpack <rogerpack2005@gmail.com>
Wed, 5 Sep 2012 22:22:58 +0000 (16:22 -0600)
committerMichael Niedermayer <michaelni@gmx.at>
Thu, 6 Sep 2012 02:42:43 +0000 (04:42 +0200)
Signed-off-by: rogerdpack <rogerpack2005@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/os_support.h

index 6110a33..b15b105 100644 (file)
 #   undef lseek
 #  endif
 #  define lseek(f,p,w) _lseeki64((f), (p), (w))
+#  ifdef stat
+#   undef stat
+#  endif
 #  define stat _stati64
+#  ifdef fstat
+#   undef fstat
+#  endif
 #  define fstat(f,s) _fstati64((f), (s))
 #endif /* defined(__MINGW32__) && !defined(__MINGW32CE__) */