I have executed the following command in MSVS Native console.
cl -Feedgcpfex64.exe -D _WIN64 ../src/*.c user32.lib
and got the following linker error.
LNK2019: unresolved external symbol __imp__MapViewOfFileEx@28 referenced in function _map_file_region
This may be the case that you are using 32 bit native tool
command prompt. There is no need to change library name for x64
support as user32.lib
and kernel32.lib
are different for 64 bit environment
but the name is same.