summaryrefslogtreecommitdiff
path: root/lib/stream.h
diff options
context:
space:
mode:
authorMartin Winter <mwinter@opensourcerouting.org>2018-04-05 01:23:37 +0100
committerGitHub <noreply@github.com>2018-04-05 01:23:37 +0100
commit381fec245296dace383fcdb4ff54bfa127dc63d3 (patch)
tree3db7c0d7de5af645ecb18e25caa175f8d4350090 /lib/stream.h
parentf0e46860883e0c1c7063078f9da32af780daaed7 (diff)
parent5483f10004a72a95ce843934353c5a5dceebaec5 (diff)
Merge pull request #2023 from LabNConsulting/working/master/confdate+release
Use new way of avoiding deprecated related warnings in non-dev branches
Diffstat (limited to 'lib/stream.h')
-rw-r--r--lib/stream.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/stream.h b/lib/stream.h
index 8011fc0963..cc74e22a67 100644
--- a/lib/stream.h
+++ b/lib/stream.h
@@ -123,7 +123,7 @@ struct stream_fifo {
#define STREAM_CONCAT_REMAIN(S1, S2, size) ((size) - (S1)->endp - (S2)->endp)
/* deprecated macros - do not use in new code */
-#if CONFDATE > 20181128
+#if defined(VERSION_TYPE_DEV) && CONFDATE > 20181128
CPP_NOTICE("lib: time to remove deprecated stream.h macros")
#endif
#define STREAM_PNT(S) stream_pnt((S))