android: use __ANDROID__
parent
9b5e9984bf
commit
6733b12ec3
vlib/compiler
|
@ -336,7 +336,7 @@ fn os_name_to_ifdef(name string) string {
|
||||||
return '_MSC_VER'
|
return '_MSC_VER'
|
||||||
}
|
}
|
||||||
'android' {
|
'android' {
|
||||||
return '__BIONIC__'
|
return '__ANDROID__'
|
||||||
}
|
}
|
||||||
'js' {
|
'js' {
|
||||||
return '_VJS'
|
return '_VJS'
|
||||||
|
|
Loading…
Reference in New Issue