This commit finally introduces passing Windows support for both Win32 and Win64 operating systems. Note: If you are installing on a modern Windows operating system such as Windows Server 2012 or Windows 8.1 and are using the latest Visual Studio, you may have to toggle the installation from the standard npm install to instead use the following build flag: npm install --msvs_version=2013 All tests should be passing, per the CI.
This has taken me hours to figure out, but in order to get Windows working a few issues had to be resolved: - Casting. I've added an additional argument parameter in the libgit2 JSON API to allow for special cast provisioning in the case where direct casting isn't possible. - Update libgit2 build flags to not use STDCALL when compiling in Windows. - Updated the binding.gyp file to have the correct configuratoin necessary for cross platform compiling.