btrfs-progs/version.h.in
Lokesh Mandvekar 514c5689bd btrfs-progs: re-introduce BTRFS_BUILD_VERSION in version.h
The macro is in a public header and breaks build of some applications.

Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
[edit changelog]
Signed-off-by: David Sterba <dsterba@suse.cz>
2015-03-16 18:40:06 +01:00

15 lines
423 B
C

#ifndef __LIBBTRFS_VERSION_H__
#define __LIBBTRFS_VERSION_H__
#define BTRFS_LIB_MAJOR @LIBBTRFS_MAJOR@
#define BTRFS_LIB_MINOR @LIBBTRFS_MINOR@
#define BTRFS_LIB_PATCHLEVEL @LIBBTRFS_PATCHLEVEL@
#define BTRFS_LIB_VERSION ( BTRFS_LIB_MAJOR * 10000 + \
BTRFS_LIB_MINOR * 100 + \
BTRFS_LIB_PATCHLEVEL )
#define BTRFS_BUILD_VERSION "Btrfs @PACKAGE_VERSION@"
#endif