libgit2/libgit2 — pull request #885 by igor-gorbunov (2012-08-20 06:37:12+00:00)
Title: Winxp compile fix

Hello! Fixed compilation for Windows operating systems.

- major

1. Excluded __cdecl compilation flags, since link.exe would not import functions from openssl dlls.
2. For Windows XP call to inet_pton changed to WSAStringToAddressA, since Windows XP does not support this function.

- minor

3. Projects in deps/* are created as static libs.

Compilation was checked for Windows XP, Windows 7, Solaris 11, Sabayon 9 with Cmake 2.8 and Fedora 12 with CMake 2.6. All tests by libgit2_clar pass, except for Windows XP.