Skip to content

Commit

Permalink
Merge pull request #2921 from libgit2/ntk/macosx_build_cherrypicked
Browse files Browse the repository at this point in the history
Fix MAX 32 bit build problem described in #2917
  • Loading branch information
carlosmn committed Feb 20, 2015
2 parents 5091aff + c92987d commit 366e53d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/integer.h
Expand Up @@ -58,7 +58,7 @@ GIT_INLINE(bool) git__add_uint64_overflow(uint64_t *out, uint64_t one, uint64_t
#if (SIZE_MAX == UINT_MAX) && __has_builtin(__builtin_uadd_overflow)
# define git__add_sizet_overflow(out, one, two) \
__builtin_uadd_overflow(one, two, out)
# define git__multiply_sizet_overflow(out, one, two)
# define git__multiply_sizet_overflow(out, one, two) \
__builtin_umul_overflow(one, two, out)
#elif (SIZE_MAX == ULONG_MAX) && __has_builtin(__builtin_uaddl_overflow)
# define git__add_sizet_overflow(out, one, two) \
Expand Down

0 comments on commit 366e53d

Please sign in to comment.