summaryrefslogtreecommitdiff
path: root/src/mongo/db/storage/mmap_v1/dur.h
diff options
context:
space:
mode:
authorAndrew Morrow <acm@mongodb.com>2015-03-26 10:13:36 -0400
committerAndrew Morrow <acm@mongodb.com>2015-03-27 11:37:29 -0400
commit67cf6c0d51bf59a1933325c793b02c220283f331 (patch)
tree5ff86583c096e26b702c6754c4e41330061cc139 /src/mongo/db/storage/mmap_v1/dur.h
parent1fc9d37170bcf29068f02cc2898436281fe16d6a (diff)
downloadmongo-67cf6c0d51bf59a1933325c793b02c220283f331.tar.gz
SERVER-11020 Don't overload the meaning of _DEBUG, use our own debug macro
Diffstat (limited to 'src/mongo/db/storage/mmap_v1/dur.h')
-rw-r--r--src/mongo/db/storage/mmap_v1/dur.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mongo/db/storage/mmap_v1/dur.h b/src/mongo/db/storage/mmap_v1/dur.h
index e43444b3e91..6863686c08f 100644
--- a/src/mongo/db/storage/mmap_v1/dur.h
+++ b/src/mongo/db/storage/mmap_v1/dur.h
@@ -58,9 +58,9 @@ namespace dur {
// Declare write intents. Use these methods to declare "i'm about to write to x and it
// should be logged for redo."
//
- // Failure to call writing...() is checked in _DEBUG mode by using a read only mapped view
- // (i.e., you'll segfault if the code is covered in that situation). The _DEBUG check
- // doesn't verify that your length is correct though.
+ // Failure to call writing...() is checked in MONGO_CONFIG_DEBUG_BUILD mode by using a
+ // read only mapped view (i.e., you'll segfault if the code is covered in that
+ // situation). The debug check doesn't verify that your length is correct though.
/**
* Declare intent to write to x for up to len.