Rename rz_version.h.in to rz_build_version.h.in (#2914)

This commit is contained in:
Khairul Azhar Kasmiran 2022-08-13 22:20:36 +08:00 committed by GitHub
parent 7cbeaf2653
commit 54508aee39
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 6 deletions

View file

@ -1,5 +1,5 @@
#ifndef RZ_VERSION_H
#define RZ_VERSION_H
#ifndef RZ_BUILD_VERSION_H
#define RZ_BUILD_VERSION_H
#define RZ_VERSION_MAJOR @RZ_VERSION_MAJOR@
#define RZ_VERSION_MINOR @RZ_VERSION_MINOR@

View file

@ -1,5 +1,5 @@
#ifndef RZ_UTIL_VERSION_H
#define RZ_UTIL_VERSION_H
#ifndef RZ_VERSION_H
#define RZ_VERSION_H
#include "rz_types.h"
@ -14,4 +14,4 @@ RZ_API RZ_OWN char *rz_version_str(const char *program);
}
#endif
#endif // RZ_UTIL_VERSION_H
#endif // RZ_VERSION_H

View file

@ -512,7 +512,7 @@ if packager_version != ''
endif
endif
rz_version_h = configure_file(
input: 'librz/include/rz_version.h.in',
input: 'librz/include/rz_build_version.h.in',
output: 'rz_build_version.h',
configuration: versionconf,
install_dir: rizin_incdir