From: James Zern Date: Thu, 10 Nov 2011 00:02:55 +0000 (-0800) Subject: vpxdec: avoid redefining fileno() on mingw X-Git-Tag: v1.0.0~79^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3a9855556e7b66703ee2333ec5035437980b8d85;p=libvpx vpxdec: avoid redefining fileno() on mingw Correct ifdef check for Visual Studio's compiler, mingw builds can use unistd.h. Change-Id: I25c5ee46ef75ffbff03f560293dfb3d6bed55f70 --- diff --git a/vpxdec.c b/vpxdec.c index 6a1a0f523..7401101f8 100644 --- a/vpxdec.c +++ b/vpxdec.c @@ -32,7 +32,7 @@ #include "nestegg/include/nestegg/nestegg.h" #if CONFIG_OS_SUPPORT -#if defined(_WIN32) +#if defined(_MSC_VER) #include #define snprintf _snprintf #define isatty _isatty