1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

sys/net/sock: introduce SOCK_HAS_IPV4

This commit is contained in:
Benjamin Valentin 2022-01-13 12:53:41 +01:00
parent 71ed611607
commit 22c46b04c9

View File

@ -107,6 +107,9 @@ ifneq (,$(filter skald, $(USEMODULE)))
endif
ifneq (,$(filter sock sock_%,$(USEMODULE)))
ifneq (,$(filter ipv4,$(USEMODULE)))
CFLAGS += -DSOCK_HAS_IPV4
endif
ifneq (,$(filter ipv6,$(USEMODULE)))
CFLAGS += -DSOCK_HAS_IPV6
endif