Skip to content

Commit

Permalink
Fix generated version number in open source release.
Browse files Browse the repository at this point in the history
Lands GitHub PR #61. The patch was also independently contributed by
Martin Gieseking <martin.gieseking@uos.de>.
  • Loading branch information
pwnall committed Dec 20, 2017
1 parent b02bfa7 commit 26102a0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions snappy-stubs-public.h.in
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 26102a0

Please sign in to comment.