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

compiler: build tetris executable on windows with both msvc and mingw gcc

This commit is contained in:
Delyan Angelov
2019-09-03 16:09:43 +03:00
committed by Alexander Medvednikov
parent fcc6dd1d4d
commit c9a39dfdb5
7 changed files with 81 additions and 36 deletions

View File

@ -151,6 +151,7 @@ pub fn (s string) u32() u32 {
pub fn (s string) u64() u64 {
return C.strtoull(s.str, 0, 0)
//return C.atoll(s.str) // temporary fix for tcc on windows.
}
// ==