diff --git a/libavformat/os_support.h b/libavformat/os_support.h index 7c7cd1f1a4..1522740765 100644 --- a/libavformat/os_support.h +++ b/libavformat/os_support.h @@ -45,7 +45,7 @@ # undef fstat # endif # define fstat(f,s) _fstati64((f), (s)) -#endif /* defined(__MINGW32__) && !defined(__MINGW32CE__) */ +#endif /* defined(_WIN32) && !defined(__MINGW32CE__) */ #ifdef _WIN32 #if HAVE_DIRECT_H