android: use __ANDROID__

pull/3423/head
Alexander Medvednikov 2020-01-13 00:20:13 +01:00
parent 9b5e9984bf
commit 6733b12ec3
1 changed files with 1 additions and 1 deletions

View File

@ -336,7 +336,7 @@ fn os_name_to_ifdef(name string) string {
return '_MSC_VER'
}
'android' {
return '__BIONIC__'
return '__ANDROID__'
}
'js' {
return '_VJS'