libgit2/libgit2 — pull request #749 by cboos (2012-06-06 13:25:11+00:00)
Title: windows: installed headers have __stdcall flag when needed.

If the GIT_STDCALL build option is selected (the default), the
GIT_EXTERN macro will add the __stdcall modifier, so that other
libraries or programs that use libgit2 will link properly.

This will fix problems like the one reported in #741 and allow
pygit2 to build with VC9.

----

Note that I renamed STDCALL to GIT_STDCALL, as this simplified writing the header template, and I think we don't want to introduce a STDCALL define. Anyway, as I understood it, STDCALL was not so much documented so renaming this option probably won't hurt.