Skip to content

Commit

Permalink
Ensure CHIP_ADDRESS_RESOLVE_IMPL_INCLUDE_HEADER is defined for mbedos (
Browse files Browse the repository at this point in the history
  • Loading branch information
andy31415 authored and pull[bot] committed Jul 15, 2023
1 parent 9f12df8 commit 558d8aa
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions config/mbed/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,10 @@ list(APPEND CHIP_CFLAGS
\"-D__LINUX_ERRNO_EXTENSIONS__=1\"
)

list(APPEND CHIP_CFLAGS
\"-DCHIP_ADDRESS_RESOLVE_IMPL_INCLUDE_HEADER=<lib/address_resolve/AddressResolve_DefaultImpl.h>\"
)

if (CONFIG_MBED_BSD_SOCKET_TRACE)
list(APPEND CHIP_CFLAGS
\"-DMBED_BSD_SOCKET_TRACE=1\"
Expand Down Expand Up @@ -344,6 +348,10 @@ list(APPEND CHIP_DEFINES
__LINUX_ERRNO_EXTENSIONS__=1
)

list(APPEND CHIP_DEFINES
CHIP_ADDRESS_RESOLVE_IMPL_INCLUDE_HEADER=<lib/address_resolve/AddressResolve_DefaultImpl.h>
)

if (CONFIG_MBED_BSD_SOCKET_TRACE)
list(APPEND CHIP_DEFINES
MBED_BSD_SOCKET_TRACE=1
Expand Down

0 comments on commit 558d8aa

Please sign in to comment.