mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-16 18:13:49 +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
|
endif
|
||||||
|
|
||||||
ifneq (,$(filter sock sock_%,$(USEMODULE)))
|
ifneq (,$(filter sock sock_%,$(USEMODULE)))
|
||||||
|
ifneq (,$(filter ipv4,$(USEMODULE)))
|
||||||
|
CFLAGS += -DSOCK_HAS_IPV4
|
||||||
|
endif
|
||||||
ifneq (,$(filter ipv6,$(USEMODULE)))
|
ifneq (,$(filter ipv6,$(USEMODULE)))
|
||||||
CFLAGS += -DSOCK_HAS_IPV6
|
CFLAGS += -DSOCK_HAS_IPV6
|
||||||
endif
|
endif
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user