2007-08-10 [wwp] 2.10.0cvs112
[claws.git] / src / msgcache.c
index 200bfab..5313f6d 100644 (file)
         ((x[2]&0xff) << 16) |          \
         ((x[3]&0xff) << 24))
 
+#ifdef G_OS_WIN32
+static gboolean msgcache_use_mmap_read = FALSE;
+#else
 static gboolean msgcache_use_mmap_read = TRUE;
+#endif
 static gboolean msgcache_use_mmap_write = FALSE;
 
 #else
@@ -87,7 +91,11 @@ static gboolean msgcache_use_mmap_write = FALSE;
         ((x[2]&0xff) << 16) |          \
         ((x[3]&0xff) << 24))
 
+#ifdef G_OS_WIN32
+static gboolean msgcache_use_mmap_read = FALSE;
+#else
 static gboolean msgcache_use_mmap_read = TRUE;
+#endif
 static gboolean msgcache_use_mmap_write = FALSE;
 #endif