* Fixing issue #15302 -- lwip doesn't support signals * Adding test to catch issue #15302 -- lwip/freertos net library don't try to build / run on windows, it'll compile only but not run Fixing issue #15302 -- reworking test to compile on other platforms
This commit is contained in:
parent
1df5cfba52
commit
6c49767a6c
5 changed files with 61 additions and 15 deletions
|
|
@ -625,6 +625,10 @@ elif defined(solaris):
|
|||
# Solaris doesn't have MSG_NOSIGNAL
|
||||
const
|
||||
MSG_NOSIGNAL* = 0'i32
|
||||
elif defined(freertos) or defined(lwip):
|
||||
# LwIP/FreeRTOS doesn't have MSG_NOSIGNAL
|
||||
const
|
||||
MSG_NOSIGNAL* = 0x20'i32
|
||||
else:
|
||||
var
|
||||
MSG_NOSIGNAL* {.importc, header: "<sys/socket.h>".}: cint
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue