compiler: add android to supported platforms
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