Go to file
Ramsay Jones e2337f39c3 MSVC: Fix a syntax error caused by an inline function definition
Commit 5dddf7c (Add block-sha1 in favour of the mozilla routines
2010-04-14) introduced the "bswap.h" header file which contains
an inline function (default_swab32()).  The msvc compiler does
not support the inline keyword which causes the build to fail
with a syntax error.

However, msvc does support inline functions using the __inline
keyword language extension.  We already have the GIT_INLINE()
macro that allows us to hide this syntatic difference. In order
to fix the build, we simply use GIT_INLINE() in the definition
of the default_swab32() function.

Signed-off-by: Ramsay Jones <ramsay@ramsay1.demon.co.uk>
2010-04-28 20:55:04 +01:00
src MSVC: Fix a syntax error caused by an inline function definition 2010-04-28 20:55:04 +01:00
tests Makefile: Add support for custom build options in config.mak file 2010-02-28 20:10:35 +00:00
.gitignore Makefile: Add support for custom build options in config.mak file 2010-02-28 20:10:35 +00:00
.HEADER Switch the license from BSD to GPL+libgcc exception 2008-11-01 15:55:47 -07:00
api.doxygen Fix "'__thread' not at start of declaration" warnings (-Wextra) 2010-01-20 20:19:06 +00:00
CONVENTIONS Move include files to include/git/, drop git_ prefix from file names 2008-11-01 15:42:23 -07:00
COPYING Switch the license from BSD to GPL+libgcc exception 2008-11-01 15:55:47 -07:00
git.git-authors Correct Adam Simpkins' name 2010-04-15 09:57:58 +02:00
libgit2.pc.in Add support for installing to a libdir other than 'lib'. 2009-02-01 15:00:10 -08:00
Makefile Merge remote branch 'ramsay/dev' 2010-04-23 09:59:22 +02:00