From 0c8ec9c325beaaaf356286ce3fe0d995a2c38fb6 Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Fri, 29 Jun 2012 00:51:13 +0900 Subject: Merged Android build scripts --- src/OptionHandlerFactory.cc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/OptionHandlerFactory.cc') diff --git a/src/OptionHandlerFactory.cc b/src/OptionHandlerFactory.cc index 7c12e608..571113ea 100644 --- a/src/OptionHandlerFactory.cc +++ b/src/OptionHandlerFactory.cc @@ -94,7 +94,11 @@ OptionHandlerFactory::createOptionHandlers() SharedHandle op(new BooleanOptionHandler (PREF_ASYNC_DNS, TEXT_ASYNC_DNS, +#if defined(__ANDROID__) || defined(ANDROID) + A2_V_FALSE, +#else // !__ANDROID__ && !ANDROID A2_V_TRUE, +#endif // !__ANDROID__ && !ANDROID OptionHandler::OPT_ARG)); op->addTag(TAG_ADVANCED); op->setInitialOption(true); -- cgit