1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

mingw on macos

This commit is contained in:
Alexander Medvednikov
2020-01-03 11:38:26 +01:00
parent 343ded18fd
commit 7c47f345be
2 changed files with 19 additions and 3 deletions

View File

@ -201,6 +201,7 @@ pub fn (v mut V) parse(file string, pass Pass) int {
}
pub fn (v mut V) compile() {
//println('compile()')
// Emily: Stop people on linux from being able to build with msvc
if os.user_os() != 'windows' && v.pref.ccompiler == 'msvc' {
verror('Cannot build with msvc on ${os.user_os()}')