mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
cmake: add new defines to config.h.in
This commit is contained in:
parent
179aa2d553
commit
58e4d7e394
2 changed files with 15 additions and 1 deletions
|
@ -61,6 +61,20 @@ extern "C"{
|
|||
#define KERNEL_VERSION_MAJ 3
|
||||
#define KERNEL_VERSION_MIN 6
|
||||
|
||||
#cmakedefine BUILDID "@BUILDID@"
|
||||
#cmakedefine V @V@
|
||||
#cmakedefine PREFIX "@PREFIX@"
|
||||
|
||||
/* Available Features */
|
||||
#cmakedefine WITH_WEB
|
||||
#cmakedefine WITH_API
|
||||
#cmakedefine WITH_HOOKS
|
||||
#cmakedefine WITH_IO
|
||||
#cmakedefine WITH_CONFIG
|
||||
|
||||
/* OS Headers */
|
||||
#cmakedefine HAS_EVENTFD
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
|
|
@ -589,7 +589,7 @@ int path_parse(struct path *p, json_t *cfg, struct list *nodes)
|
|||
}
|
||||
}
|
||||
|
||||
#if WITH_HOOKS
|
||||
#ifdef WITH_HOOKS
|
||||
if (json_hooks) {
|
||||
ret = hook_parse_list(&p->hooks, json_hooks, p, NULL);
|
||||
if (ret)
|
||||
|
|
Loading…
Add table
Reference in a new issue