From fa09dc9115c4d34da6c5797287ee2ba61d6f162e Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Tue, 17 Sep 2013 23:17:08 +0900 Subject: Clean up if defined style --- src/OptionHandlerFactory.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/OptionHandlerFactory.cc') 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 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 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 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, -- cgit