diff options
| author | Sven Strickroth <email@cs-ware.de> | 2011-10-09 18:37:41 +0200 |
|---|---|---|
| committer | Sven Strickroth <email@cs-ware.de> | 2011-10-09 18:39:52 +0200 |
| commit | 96fab093e3d7fa15e5085f36c51841fa6628cbe9 (patch) | |
| tree | a9cfa148e892cb5ee3938f99fc0c6f5315acd5d8 /include | |
| parent | da2281c7c0c450922533f6ee637d7bf59abc0fa3 (diff) | |
| download | libgit2-96fab093e3d7fa15e5085f36c51841fa6628cbe9.tar.gz | |
put version information in separate file
Signed-off-by: Sven Strickroth <email@cs-ware.de>
Diffstat (limited to 'include')
| -rw-r--r-- | include/git2.h | 5 | ||||
| -rw-r--r-- | include/git2/version.h | 15 |
2 files changed, 16 insertions, 4 deletions
diff --git a/include/git2.h b/include/git2.h index 9a0999a16..ad92809bb 100644 --- a/include/git2.h +++ b/include/git2.h @@ -8,10 +8,7 @@ #ifndef INCLUDE_git_git_h__ #define INCLUDE_git_git_h__ -#define LIBGIT2_VERSION "0.15.0" -#define LIBGIT2_VER_MAJOR 0 -#define LIBGIT2_VER_MINOR 15 -#define LIBGIT2_VER_REVISION 0 +#include "git2/version.h" #include "git2/common.h" #include "git2/errors.h" diff --git a/include/git2/version.h b/include/git2/version.h new file mode 100644 index 000000000..cb8b386d6 --- /dev/null +++ b/include/git2/version.h @@ -0,0 +1,15 @@ +/* + * Copyright (C) 2009-2011 the libgit2 contributors + * + * This file is part of libgit2, distributed under the GNU GPL v2 with + * a Linking Exception. For full terms see the included COPYING file. + */ +#ifndef INCLUDE_git_version_h__ +#define INCLUDE_git_version_h__ + +#define LIBGIT2_VERSION "0.15.0" +#define LIBGIT2_VER_MAJOR 0 +#define LIBGIT2_VER_MINOR 15 +#define LIBGIT2_VER_REVISION 0 + +#endif |
