summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEliot Horowitz <eliot@10gen.com>2010-02-21 11:58:15 -0500
committerEliot Horowitz <eliot@10gen.com>2010-02-21 11:58:15 -0500
commit67f8e660585d3beac8abb73cf7b596a1efe5ce33 (patch)
tree22e0f38836758f336f0821083731bacabc40ace3
parent3895bcd00bbeacb0ea38320f1e2cada186161330 (diff)
downloadmongo-67f8e660585d3beac8abb73cf7b596a1efe5ce33.tar.gz
compile windows
-rw-r--r--util/mmap_win.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/mmap_win.cpp b/util/mmap_win.cpp
index 7db43601b13..b48bb156c53 100644
--- a/util/mmap_win.cpp
+++ b/util/mmap_win.cpp
@@ -49,7 +49,7 @@ namespace mongo {
unsigned mapped = 0;
- void* MemoryMappedFile::map(const char *_filename, long &length) {
+ void* MemoryMappedFile::map(const char *_filename, long &length, int options ) {
/* big hack here: Babble uses db names with colons. doesn't seem to work on windows. temporary perhaps. */
char filename[256];
strncpy(filename, _filename, 255);