1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-30 17:01:19 +01:00

Merge pull request #14358 from gschorcht/sys/net/gnrc/icmpv6/conditional_min_definition

gnrc/icmpv6: conditional definition of the MIN macro
This commit is contained in:
Martine Lenders 2020-06-25 19:43:44 +02:00 committed by GitHub
commit 2bb9a392b4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -27,6 +27,7 @@
#define ICMPV6_ERROR_SET_VALUE(data, value) \
((icmpv6_error_pkt_too_big_t *)(data))->mtu = byteorder_htonl(value)
#undef MIN
#define MIN(a, b) ((a) < (b)) ? (a) : (b)
/**