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/s/mongos_options.cpp | |
parent | 66c14dd70dd4427fef0d424b9675570614e13ca7 (diff) | |
download | mongo-ef7f17be8085488ba965286fb97927a7ce3600e7.tar.gz |
SERVER-9563 Add support for config.h header
Diffstat (limited to 'src/mongo/s/mongos_options.cpp')
-rw-r--r-- | src/mongo/s/mongos_options.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/mongo/s/mongos_options.cpp b/src/mongo/s/mongos_options.cpp index 566ac2e033a..592e3ba9f49 100644 --- a/src/mongo/s/mongos_options.cpp +++ b/src/mongo/s/mongos_options.cpp @@ -28,6 +28,8 @@ #define MONGO_LOG_DEFAULT_COMPONENT ::mongo::logger::LogComponent::kSharding +#include "mongo/config.h" + #include "mongo/platform/basic.h" #include "mongo/s/mongos_options.h" @@ -72,7 +74,7 @@ namespace mongo { } #endif -#ifdef MONGO_SSL +#ifdef MONGO_CONFIG_SSL moe::OptionSection ssl_options("SSL options"); ret = addSSLServerOptions(&ssl_options); @@ -116,7 +118,7 @@ namespace mongo { options->addSection(sharding_options); -#ifdef MONGO_SSL +#ifdef MONGO_CONFIG_SSL options->addSection(ssl_options); #endif @@ -177,7 +179,7 @@ namespace mongo { return ret; } -#ifdef MONGO_SSL +#ifdef MONGO_CONFIG_SSL ret = canonicalizeSSLServerOptions(params); if (!ret.isOK()) { return ret; |