mirror of
https://github.com/nishiowo/nishbox
synced 2025-04-21 12:14:39 +00:00
use PACKAGE_VERSION instead
This commit is contained in:
parent
89c3855d6f
commit
e69dcab7fa
@ -13,7 +13,7 @@
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#define NB_VERSION "1.0.0"
|
||||
#define NB_VERSION PACKAGE_VERSION
|
||||
|
||||
void nb_get_version(nb_version_t* version) {
|
||||
char* cpstr = malloc(strlen(NB_VERSION) + 1);
|
||||
|
Loading…
x
Reference in New Issue
Block a user