summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorVicent Marti <tanoku@gmail.com>2011-02-07 10:35:58 +0200
committerVicent Marti <tanoku@gmail.com>2011-02-07 10:35:58 +0200
commit9d1dcca229c624c7551a287963a19e95ba4753b6 (patch)
treef4b441b11e7fe6a9ce901e438a51d0d4f4b8e451 /src
parent7a689719bd540502bba4842a8aa2546fd1ef8001 (diff)
downloadlibgit2-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')
-rw-r--r--src/git2.h5
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"