Skip to content

Commit 8205237

Browse files
committed
fix(build): format libgit2 version guard
Signed-off-by: Dustin Persek <dustin.persek@protonmail.com>
1 parent a5847a6 commit 8205237

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

internal/cbm/cbm.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@
2626
#error "HAVE_LIBGIT2 requires libgit2 >= 1.7.0 for git_allocator"
2727
#endif
2828
#elif defined(LIBGIT2_VER_MAJOR) && defined(LIBGIT2_VER_MINOR) && defined(LIBGIT2_VER_REVISION)
29-
#if ((LIBGIT2_VER_MAJOR * 1000000) + (LIBGIT2_VER_MINOR * 10000) + (LIBGIT2_VER_REVISION * 100)) < 1070000
29+
#if ((LIBGIT2_VER_MAJOR * 1000000) + (LIBGIT2_VER_MINOR * 10000) + (LIBGIT2_VER_REVISION * 100)) < \
30+
1070000
3031
#error "HAVE_LIBGIT2 requires libgit2 >= 1.7.0 for git_allocator"
3132
#endif
3233
#else

0 commit comments

Comments
 (0)