diff options
| author | Lou Berger <lberger@labn.net> | 2018-04-03 13:47:50 -0400 |
|---|---|---|
| committer | Lou Berger <lberger@labn.net> | 2018-04-03 13:47:50 -0400 |
| commit | e24be24183d053a322ca96d5d6f7dbc36100562c (patch) | |
| tree | 62688a77ac53a21d429e1c6e1cba87417398e642 /lib/zclient.h | |
| parent | 1780ad33269c6d0be2a23eb8428cf7151c6a2cc5 (diff) | |
*: Only test CONFDATE when VERSION_TYPE_DEV defined
Signed-off-by: Lou Berger <lberger@labn.net>
Diffstat (limited to 'lib/zclient.h')
| -rw-r--r-- | lib/zclient.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/zclient.h b/lib/zclient.h index 04f2a5c178..9d3e5c3702 100644 --- a/lib/zclient.h +++ b/lib/zclient.h @@ -383,7 +383,7 @@ struct zclient_options { extern struct zclient *zclient_new(struct thread_master *); /* clang-format off */ -#if CONFDATE > 20181101 +#if defined(VERSION_TYPE_DEV) && CONFDATE > 20181101 CPP_NOTICE("zclient_new_notify can take over or zclient_new now"); #endif /* clang-format on */ @@ -524,7 +524,7 @@ extern void zebra_interface_if_set_value(struct stream *, struct interface *); extern void zebra_router_id_update_read(struct stream *s, struct prefix *rid); /* clang-format off */ -#if CONFDATE > 20180823 +#if defined(VERSION_TYPE_DEV) && CONFDATE > 20180823 CPP_NOTICE("zapi_ipv4_route, zapi_ipv6_route, zapi_ipv4_route_ipv6_nexthop as well as the zapi_ipv4 and zapi_ipv6 data structures should be removed now"); #endif /* clang-format on */ |
