summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 048407d3..81932bc1 100755
--- a/configure
+++ b/configure
@@ -1159,7 +1159,7 @@ if ! [ $darwin_target ] ; then
if [ "$($make conftest.android)" = "yes" ] ; then
printf "yes\n"
android_target=y
- lang_flags="$lang_flags -D__ANDROID_API__=65535 -D_BSD_SOURCE"
+ lang_flags="$lang_flags -U__ANDROID_API__ -D__ANDROID_API__=65535 -D_BSD_SOURCE"
printf "Regenerating config.make ..."
gen_config_make
printf "done\n"