aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2014-08-18 16:39:07 +0200
committerHarald Welte <laforge@gnumonks.org>2014-08-18 20:48:56 +0200
commitac76388c778f453c335510a77ff5a6054c691979 (patch)
treea2030c571edbcfb75f3e322c8520cc34ba4b27ef
parentbc82b0189a3f8f7402c4986c21362f8fb89474ce (diff)
TLVP_PRES_LEN is now in libosmocore, avoid redefining it
-rw-r--r--src/common/oml.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common/oml.c b/src/common/oml.c
index 2ea71ec..6515295 100644
--- a/src/common/oml.c
+++ b/src/common/oml.c
@@ -828,8 +828,10 @@ static int down_fom(struct gsm_bts *bts, struct msgb *msg)
* manufacturer related messages
*/
+#ifndef TLVP_PRES_LEN /* old libosmocore */
#define TLVP_PRES_LEN(tp, tag, min_len) \
(TLVP_PRESENT(tp, tag) && TLVP_LEN(tp, tag) >= min_len)
+#endif
static int oml_ipa_mo_set_attr_nse(void *obj, struct tlv_parsed *tp)
{