summaryrefslogtreecommitdiff
path: root/src/mongo/util/stacktrace_somap.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/util/stacktrace_somap.cpp')
-rw-r--r--src/mongo/util/stacktrace_somap.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mongo/util/stacktrace_somap.cpp b/src/mongo/util/stacktrace_somap.cpp
index 947114affae..53d4f8cdc26 100644
--- a/src/mongo/util/stacktrace_somap.cpp
+++ b/src/mongo/util/stacktrace_somap.cpp
@@ -27,7 +27,6 @@
* it in the license file.
*/
-#define MONGO_LOGV2_DEFAULT_COMPONENT ::mongo::logv2::LogComponent::kControl
#include "mongo/platform/basic.h"
#include "mongo/util/stacktrace_somap.h"
@@ -58,6 +57,9 @@
#include "mongo/util/str.h"
#include "mongo/util/version.h"
+#define MONGO_LOGV2_DEFAULT_COMPONENT ::mongo::logv2::LogComponent::kControl
+
+
// Given `#define A aaa` and `#define B bbb`, `TOKEN_CAT(A, B)` evaluates to `aaabbb`.
#define TOKEN_CAT(a, b) TOKEN_CAT_PRIMITIVE(a, b)
#define TOKEN_CAT_PRIMITIVE(a, b) a##b