summaryrefslogtreecommitdiff
path: root/pch.h
diff options
context:
space:
mode:
authorDwight <dwight@10gen.com>2010-09-13 17:16:42 -0400
committerDwight <dwight@10gen.com>2010-09-13 17:16:42 -0400
commitffd42e6a1ce476c453f566929a9aa92485ba5aa5 (patch)
tree37362bc094374353a25fd73403d90151d311c815 /pch.h
parent9607ad40ce6b2417ddfe6bfea679f223a854f44d (diff)
downloadmongo-ffd42e6a1ce476c453f566929a9aa92485ba5aa5.tar.gz
read only mmap support on windows
Diffstat (limited to 'pch.h')
-rw-r--r--pch.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/pch.h b/pch.h
index 014ba8bfadc..725f273fc5c 100644
--- a/pch.h
+++ b/pch.h
@@ -96,7 +96,9 @@ namespace mongo {
/* this likely goes away later. to facilitate testing for a while without impacting other things. */
#if defined(_DURABLE)
const bool durable = true;
-#error do not use this yet
+#if !defined(_DEBUG)
+#error not done - do not use this yet
+#endif
#else
const bool durable = false;
#endif