mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
@@ -55,9 +55,6 @@ fn open(f string) voidptr {
|
||||
// locking it
|
||||
fd := C.CreateFileW(f_wide, C.GENERIC_READ | C.GENERIC_WRITE, 0, 0, C.OPEN_ALWAYS,
|
||||
C.FILE_ATTRIBUTE_NORMAL, 0)
|
||||
if fd == C.INVALID_HANDLE_VALUE {
|
||||
fd == -1
|
||||
}
|
||||
return fd
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user