diff options
author | Vicent Marti <tanoku@gmail.com> | 2011-02-07 10:35:58 +0200 |
---|---|---|
committer | Vicent Marti <tanoku@gmail.com> | 2011-02-07 10:35:58 +0200 |
commit | 9d1dcca229c624c7551a287963a19e95ba4753b6 (patch) | |
tree | f4b441b11e7fe6a9ce901e438a51d0d4f4b8e451 /src/git2.h | |
parent | 7a689719bd540502bba4842a8aa2546fd1ef8001 (diff) | |
download | libgit2-9d1dcca229c624c7551a287963a19e95ba4753b6.tar.gz |
Add proper version managementv0.3.0
We now have proper sonames in Mac OS X and Linux, proper versioning on
the pkg-config file and proper DLL naming in Windows.
The version of the library is defined exclusively in 'src/git2.h'; the build scripts
read it from there automatically.
Signed-off-by: Vicent Marti <tanoku@gmail.com>
Diffstat (limited to 'src/git2.h')
-rw-r--r-- | src/git2.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/git2.h b/src/git2.h index e7f56e924..70ab811f1 100644 --- a/src/git2.h +++ b/src/git2.h @@ -26,6 +26,11 @@ #ifndef INCLUDE_git_git_h__ #define INCLUDE_git_git_h__ +#define LIBGIT2_VERSION "0.3.0" +#define LIBGIT2_VER_MAJOR 0 +#define LIBGIT2_VER_MINOR 3 +#define LIBGIT2_VER_REVISION 0 + #include "git2/common.h" #include "git2/errors.h" #include "git2/zlib.h" |