fixes #8421, fixes #7968, Nim compiler compiles with MSVC C89 version (#8556)

This commit is contained in:
andri lim 2018-08-07 14:07:18 +07:00 • committed by Andreas Rumpf
commit c3d5ec8ead
3 changed files with 79 additions and 24 deletions

View file

@ -396,7 +396,7 @@ else:
proc moveFileA*(lpExistingFileName, lpNewFileName: cstring): WINBOOL {.
importc: "MoveFileA", stdcall, dynlib: "kernel32".}
proc moveFileExA*(lpExistingFileName, lpNewFileName: WideCString,
proc moveFileExA*(lpExistingFileName, lpNewFileName: cstring,
flags: DWORD): WINBOOL {.
importc: "MoveFileExA", stdcall, dynlib: "kernel32".}