File: version.c

package info (click to toggle)
r-cran-git2r 0.31.0%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 2,288 kB
  • sloc: ansic: 8,283; sh: 4,116; makefile: 4
file content (9 lines) | stat: -rw-r--r-- 222 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
#include <git2.h>

#if LIBGIT2_VER_MAJOR == 0
#    if LIBGIT2_VER_MINOR < 26
#        error libgit2 version too old
#    endif
#elif LIBGIT2_VER_MAJOR > 1
#    error the libgit2 version is not compatible with git2r
#endif