diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2013-09-17 23:17:08 +0900 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2013-09-17 23:17:08 +0900 |
| commit | fa09dc9115c4d34da6c5797287ee2ba61d6f162e (patch) | |
| tree | 6c90f7fb8dbb2ec30b179eedb9d470b24a04f2aa /src/OptionHandlerFactory.cc | |
| parent | 58f35a07a521e51e8fb09013af17b4689b09fd34 (diff) | |
Clean up if defined style
Diffstat (limited to 'src/OptionHandlerFactory.cc')
| -rw-r--r-- | src/OptionHandlerFactory.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/OptionHandlerFactory.cc b/src/OptionHandlerFactory.cc index ab236886..71c760ff 100644 --- a/src/OptionHandlerFactory.cc +++ b/src/OptionHandlerFactory.cc @@ -107,7 +107,7 @@ std::vector<OptionHandler*> OptionHandlerFactory::createOptionHandlers() op->setChangeOptionForReserved(true); handlers.push_back(op); } -#if defined HAVE_ARES_SET_SERVERS && HAVE_ARES_ADDR_NODE +#if defined(HAVE_ARES_SET_SERVERS) && defined(HAVE_ARES_ADDR_NODE) { OptionHandler* op(new DefaultOptionHandler (PREF_ASYNC_DNS_SERVER, @@ -305,7 +305,7 @@ std::vector<OptionHandler*> OptionHandlerFactory::createOptionHandlers() handlers.push_back(op); } #endif // ENABLE_ASYNC_DNS -#if defined HAVE_MMAP || defined __MINGW32__ +#if defined(HAVE_MMAP) || defined(__MINGW32__) { OptionHandler* op(new BooleanOptionHandler (PREF_ENABLE_MMAP, @@ -1607,7 +1607,7 @@ std::vector<OptionHandler*> OptionHandlerFactory::createOptionHandlers() handlers.push_back(op); } // BitTorrent/Metalink Options -#if defined ENABLE_BITTORRENT || defined ENABLE_METALINK +#if defined(ENABLE_BITTORRENT) || defined(ENABLE_METALINK) { OptionHandler* op(new IntegerRangeOptionHandler (PREF_SELECT_FILE, |
