mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
compiler: add android to supported platforms
This commit is contained in:
parent
155fecadb7
commit
3325775944
@ -274,6 +274,7 @@ fn os_name_to_ifdef(name string) string {
|
||||
case 'netbsd': return '__NetBSD__'
|
||||
case 'dragonfly': return '__DragonFly__'
|
||||
case 'msvc': return '_MSC_VER'
|
||||
case 'android': return '__BIONIC__'
|
||||
case 'js': return '_VJS'
|
||||
}
|
||||
cerror('bad os ifdef name "$name"')
|
||||
|
@ -28,7 +28,7 @@ enum BuildMode {
|
||||
|
||||
const (
|
||||
SupportedPlatforms = ['windows', 'mac', 'linux', 'freebsd', 'openbsd',
|
||||
'netbsd', 'dragonfly', 'msvc', 'js']
|
||||
'netbsd', 'dragonfly', 'msvc', 'android', 'js']
|
||||
ModPath = os.home_dir() + '/.vmodules/'
|
||||
)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user