summaryrefslogtreecommitdiff
path: root/src/mongo/util/background.cpp
diff options
context:
space:
mode:
authorJonathan Reams <jbreams@mongodb.com>2015-03-26 18:00:00 -0400
committerJonathan Reams <jbreams@mongodb.com>2015-03-26 18:30:00 -0400
commitef7f17be8085488ba965286fb97927a7ce3600e7 (patch)
tree48caef5aaf331f1035c02489a78feab2ccaef789 /src/mongo/util/background.cpp
parent66c14dd70dd4427fef0d424b9675570614e13ca7 (diff)
downloadmongo-ef7f17be8085488ba965286fb97927a7ce3600e7.tar.gz
SERVER-9563 Add support for config.h header
Diffstat (limited to 'src/mongo/util/background.cpp')
-rw-r--r--src/mongo/util/background.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mongo/util/background.cpp b/src/mongo/util/background.cpp
index d1ad927bb8f..4d484dc82b9 100644
--- a/src/mongo/util/background.cpp
+++ b/src/mongo/util/background.cpp
@@ -29,6 +29,8 @@
#define MONGO_LOG_DEFAULT_COMPONENT ::mongo::logger::LogComponent::kCommand
+#include "mongo/config.h"
+
#include "mongo/platform/basic.h"
#include "mongo/util/background.h"
@@ -166,7 +168,7 @@ namespace mongo {
// We must cache this value so that we can use it after we leave the following scope.
const bool selfDelete = _selfDelete;
-#ifdef MONGO_SSL
+#ifdef MONGO_CONFIG_SSL
// TODO(sverch): Allow people who use the BackgroundJob to also specify cleanup tasks.
// Currently the networking code depends on this class and this class depends on the
// networking code because of this ad hoc cleanup.