mirror of
https://github.com/nim-lang/Nim.git
synced 2026-01-05 20:47:53 +00:00
tgetaddrinfo: disable ICMP tests for Haiku
They're not supported by Haiku's getaddrinfo()
(cherry picked from commit 51d998390c)
This commit is contained in:
@@ -15,7 +15,7 @@ block DGRAM_UDP:
|
||||
doAssert aiList.ai_next == nil
|
||||
freeAddrInfo aiList
|
||||
|
||||
when defined(posix):
|
||||
when defined(posix) and not defined(haiku):
|
||||
|
||||
block RAW_ICMP:
|
||||
# the port will be ignored
|
||||
|
||||
Reference in New Issue
Block a user