diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2012-06-29 00:51:13 +0900 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2012-06-29 00:51:13 +0900 |
| commit | 0c8ec9c325beaaaf356286ce3fe0d995a2c38fb6 (patch) | |
| tree | 0031536b30d2e0e1c5382687c28252695251ce0c /src/OptionHandlerFactory.cc | |
| parent | f1017d5def6af26f0bb988de8e9790c58afed2fa (diff) | |
Merged Android build scripts
Diffstat (limited to 'src/OptionHandlerFactory.cc')
| -rw-r--r-- | src/OptionHandlerFactory.cc | 4 |
1 files changed, 4 insertions, 0 deletions
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<OptionHandler> 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); |
