Change preprocessor check to _WIN32
authorFrank Galligan <fgalligan@google.com>
Thu, 10 Jun 2010 20:59:21 +0000 (16:59 -0400)
committerFrank Galligan <fgalligan@google.com>
Fri, 11 Jun 2010 14:00:43 +0000 (10:00 -0400)
Change-Id: I841dc0b8ebb150ac998f4076c148d7bb187e4301

ivfenc.c

index 57c04dd..c20df5b 100644 (file)
--- a/ivfenc.c
+++ b/ivfenc.c
@@ -12,7 +12,7 @@
 /* This is a simple program that encodes YV12 files and generates ivf
  * files using the new interface.
  */
-#if defined(_MSC_VER)
+#if defined(_WIN32)
 #define USE_POSIX_MMAP 0
 #else
 #define USE_POSIX_MMAP 1