diff options
author | costan <costan@google.com> | 2017-12-20 13:08:59 -0800 |
---|---|---|
committer | Victor Costan <pwnall@chromium.org> | 2017-12-20 14:32:54 -0800 |
commit | 26102a0c66175bc39edbf484c994a21902e986dc (patch) | |
tree | 4edf130a4b03a260f305eefb9acb8f9023e5fe35 | |
parent | b02bfa754ebf27921d8da3bd2517eab445b84ff9 (diff) | |
download | snappy-git-26102a0c66175bc39edbf484c994a21902e986dc.tar.gz |
Fix generated version number in open source release.
Lands GitHub PR #61. The patch was also independently contributed by
Martin Gieseking <martin.gieseking@uos.de>.
-rw-r--r-- | snappy-stubs-public.h.in | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/snappy-stubs-public.h.in b/snappy-stubs-public.h.in index 3fd79bb..bb5b222 100644 --- a/snappy-stubs-public.h.in +++ b/snappy-stubs-public.h.in @@ -48,9 +48,9 @@ #include <sys/uio.h> #endif // HAVE_SYS_UIO_H -#define SNAPPY_MAJOR ${SNAPPY_MAJOR} -#define SNAPPY_MINOR ${SNAPPY_MINOR} -#define SNAPPY_PATCHLEVEL ${SNAPPY_PATCHLEVEL} +#define SNAPPY_MAJOR ${PROJECT_VERSION_MAJOR} +#define SNAPPY_MINOR ${PROJECT_VERSION_MINOR} +#define SNAPPY_PATCHLEVEL ${PROJECT_VERSION_PATCH} #define SNAPPY_VERSION \ ((SNAPPY_MAJOR << 16) | (SNAPPY_MINOR << 8) | SNAPPY_PATCHLEVEL) |