btrfs-progs/libbtrfs/version.h.in
David Sterba d4c7f01e37 btrfs-progs: libbtrfs: move version.h to the directory
The header is part of the public API and not used by any other code so
move it to the other files.

Signed-off-by: David Sterba <dsterba@suse.com>
2023-01-05 14:18:07 +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