changeset 26104:e5bce92eb572

Replace __MINGW32__ preprocessor check with proper HAVE_SYS_MMAN_H check.
author diego
date Sat, 01 Mar 2008 10:16:43 +0000
parents 128f089724d3
children c99d53b76ee5
files loader/dmo/DMO_VideoDecoder.c loader/dshow/DS_VideoDecoder.c
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/loader/dmo/DMO_VideoDecoder.c	Sat Mar 01 09:50:06 2008 +0000
+++ b/loader/dmo/DMO_VideoDecoder.c	Sat Mar 01 10:16:43 2008 +0000
@@ -39,7 +39,7 @@
 #include <fcntl.h>
 #include <errno.h>
 #include <sys/types.h>
-#ifndef __MINGW32__
+#ifdef HAVE_SYS_MMAN_H
 #include <sys/mman.h>
 #endif
 #include <stdio.h>
--- a/loader/dshow/DS_VideoDecoder.c	Sat Mar 01 09:50:06 2008 +0000
+++ b/loader/dshow/DS_VideoDecoder.c	Sat Mar 01 10:16:43 2008 +0000
@@ -39,7 +39,7 @@
 #include <fcntl.h>
 #include <errno.h>
 #include <sys/types.h>
-#ifndef __MINGW32__
+#ifdef HAVE_SYS_MMAN_H
 #include <sys/mman.h>
 #endif
 #include <stdio.h>