mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-27 15:31:17 +01:00
When WITH_RIOT_GNRC is set in CFLAGS, tinydtls will use a more compact address representation based on ipv6_addr_t instead of POSIX-style sockaddr_in6 to identify sessions (cf. struct session_t). When posix_sockets are used (as in libcoap, e.g.), the POSIX address representation should be selected automatically for consistency. This change adds -DWITH_RIOT_GNRC to CFLAGS only when the module posix_sockets is not selected.