diff options
author | Harald Welte <laforge@gnumonks.org> | 2014-08-18 16:39:07 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2014-08-18 20:48:56 +0200 |
commit | ac76388c778f453c335510a77ff5a6054c691979 (patch) | |
tree | a2030c571edbcfb75f3e322c8520cc34ba4b27ef /src | |
parent | bc82b0189a3f8f7402c4986c21362f8fb89474ce (diff) |
TLVP_PRES_LEN is now in libosmocore, avoid redefining it
Diffstat (limited to 'src')
-rw-r--r-- | src/common/oml.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common/oml.c b/src/common/oml.c index 2ea71ec5..65152953 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) { |