mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
make compiler
This commit is contained in:
parent
a9b8bc067f
commit
1bbf3a3a0c
@ -615,7 +615,7 @@ mut args := ''
|
||||
}
|
||||
println('linux cross compilation done. resulting binary: "$v.out_name"')
|
||||
}
|
||||
if v.out_name_c != 'v.c' {
|
||||
if v.out_name_c != 'v.c' && v.out_name_c != 'v_macos.c' {
|
||||
os.rm('$TmpPath/$v.out_name_c')
|
||||
}
|
||||
}
|
||||
|
@ -2,6 +2,7 @@ module os
|
||||
|
||||
// Ref - https://docs.microsoft.com/en-us/windows/desktop/winprog/windows-data-types
|
||||
// A handle to an object.
|
||||
/*
|
||||
type HANDLE voidptr // C.HANDLE
|
||||
|
||||
pub fn get_file_handle(path string) HANDLE {
|
||||
@ -13,3 +14,4 @@ pub fn get_file_handle(path string) HANDLE {
|
||||
_handle := C._get_osfhandle(C._fileno(_fh)) // CreateFile? - hah, no -_-
|
||||
return _handle
|
||||
}
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user