projects
/
platform
/
upstream
/
libvpx.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9532bda
)
vpxdec: avoid redefining fileno() on mingw
author
James Zern
<jzern@google.com>
Thu, 10 Nov 2011 00:02:55 +0000
(16:02 -0800)
committer
James Zern
<jzern@google.com>
Thu, 10 Nov 2011 00:02:55 +0000
(16:02 -0800)
Correct ifdef check for Visual Studio's compiler, mingw builds can use
unistd.h.
Change-Id: I25c5ee46ef75ffbff03f560293dfb3d6bed55f70
vpxdec.c
patch
|
blob
|
history
diff --git
a/vpxdec.c
b/vpxdec.c
index 6a1a0f5238eed026eeba5e0646ea93f8dfb94337..7401101f8bdeb782973482473f5cc88fa634941d 100644
(file)
--- 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 <io.h>
#define snprintf _snprintf
#define isatty _isatty