commit | 1d195eb92934324a2d111d7cef1a6a156716d42c | [log] [tgz] |
---|---|---|
author | Gilad Arnold <garnold@google.com> | Fri Jul 17 12:05:01 2015 -0700 |
committer | Gilad Arnold <garnold@google.com> | Mon Jul 20 10:45:17 2015 -0700 |
tree | c81e1d4e232df089c660235af0ff13c996e175ab | |
parent | 968bf19396ad404e89420f5d67900fce13f4186c [diff] |
Build libcares.so on Android. Adds ares_config.h (derived from ares_config.h.in) and Android.mk. Also, some small fixes to make the code build without errors: ares_build.h: CARES_SIZEOF_LONG defaults to sizeof(long) if no other case applies; while this seems to defeat the purpose of defining a macro, it works. ares_nowarn.c: If HAVE_LIMITS_H is defined, include limits.h and use INT_MAX and UINT_MAX as needed. Bug: 22545809 Change-Id: I628ce2659f6503a415d06db3e223d9ef00956ddb