changeset 650:6d5d4c733781

Protect <sys/mman.h> in audioDB.h against being included with mingw
author mas01cr
date Wed, 14 Oct 2009 12:12:37 +0000
parents 7678326a937d
children 5b2c0d9bc63d
files audioDB.h
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/audioDB.h	Tue Oct 13 20:17:15 2009 +0000
+++ b/audioDB.h	Wed Oct 14 12:12:37 2009 +0000
@@ -5,7 +5,9 @@
 #include <stdlib.h>
 #include <sys/types.h>
 #include <sys/stat.h>
+#if !defined(WIN32)
 #include <sys/mman.h>
+#endif
 #include <fcntl.h>
 #include <string.h>
 #include <iostream>