libgit2

LIBGIT2_VERSION_CHECK(major, minor, revision)

Version:

Compare the libgit2 version against a given version. Evaluates to true if the given major, minor, and revision values are greater than or equal to the currently running libgit2 version. For example: #if LIBGIT2_VERSION_CHECK(1, 6, 3) # error libgit2 version is >= 1.6.3 #endif

Signature

#define LIBGIT2_VERSION_CHECK(major, minor, revision) (LIBGIT2_VERSION_NUMBER >= ((major)*1000000)+((minor)*10000)+((revision)*100))

Versions