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:
parent
71ed611607
commit
22c46b04c9
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user