vpxdec: avoid redefining fileno() on mingw

Correct ifdef check for Visual Studio's compiler, mingw builds can use
unistd.h.

Change-Id: I25c5ee46ef75ffbff03f560293dfb3d6bed55f70
This commit is contained in:
James Zern 2011-11-09 16:02:55 -08:00
parent 9532bda0fb
commit 3a9855556e

View File

@ -32,7 +32,7 @@
#include "nestegg/include/nestegg/nestegg.h"
#if CONFIG_OS_SUPPORT
#if defined(_WIN32)
#if defined(_MSC_VER)
#include <io.h>
#define snprintf _snprintf
#define isatty _isatty