Commit a1424842 authored by Ajit Jagtap's avatar Ajit Jagtap
Browse files

Merge branch 'sp_some_fixes' into 'devbranch'

const changed to var due to build issues on windows

See merge request !95
parents e6149c07 e8524110
Branches
Tags
2 merge requests!9830July Merge Dev to Stg,!95const changed to var due to build issues on windows
Showing with 5 additions and 2 deletions
...@@ -9,8 +9,11 @@ import ( ...@@ -9,8 +9,11 @@ import (
const ( const (
moveFileReplacExisting = 0x1 moveFileReplacExisting = 0x1
moveFileWriteThrough = 0x8 moveFileWriteThrough = 0x8
modkernel32 = syscall.NewLazyDLL("kernel32.dll") )
procMoveFileExW = modkernel32.NewProc("MoveFileExW")
var (
modkernel32 = syscall.NewLazyDLL("kernel32.dll")
procMoveFileExW = modkernel32.NewProc("MoveFileExW")
) )
//sys moveFileEx(lpExistingFileName *uint16, lpNewFileName *uint16, dwFlags uint32) (err error) = MoveFileExW //sys moveFileEx(lpExistingFileName *uint16, lpNewFileName *uint16, dwFlags uint32) (err error) = MoveFileExW
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment