diff options
author | Jonathan Reams <jbreams@mongodb.com> | 2015-03-26 18:00:00 -0400 |
---|---|---|
committer | Jonathan Reams <jbreams@mongodb.com> | 2015-03-26 18:30:00 -0400 |
commit | ef7f17be8085488ba965286fb97927a7ce3600e7 (patch) | |
tree | 48caef5aaf331f1035c02489a78feab2ccaef789 /src/mongo/util/background.cpp | |
parent | 66c14dd70dd4427fef0d424b9675570614e13ca7 (diff) | |
download | mongo-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.cpp | 4 |
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. |