mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
fix the build
This commit is contained in:
@ -202,9 +202,9 @@ pub fn (s string) u32() u32 {
|
||||
|
||||
pub fn (s string) u64() u64 {
|
||||
//$if tinyc {
|
||||
return u64(s.int()) // TODO
|
||||
//return u64(s.int()) // TODO
|
||||
//} $else {
|
||||
//return C.strtoull(*char(s.str), 0, 0)
|
||||
return C.strtoull(*char(s.str), 0, 0)
|
||||
//}
|
||||
//return C.atoll(s.str) // temporary fix for tcc on windows.
|
||||
}
|
||||
|
Reference in New Issue
Block a user