Additional platform definitions for sparc64 (#11387)
* lib/posix: Define SO_REUSEPORT for sparc64 as 0x0200 from kernel ABI * lib/system: Add platform support for sparc64
This commit is contained in:
parent
4a485cb7ef
commit
5c5df61071
2 changed files with 3 additions and 1 deletions
|
|
@ -546,7 +546,7 @@ else:
|
|||
when defined(linux) or defined(nimdoc):
|
||||
when defined(alpha) or defined(mips) or defined(mipsel) or
|
||||
defined(mips64) or defined(mips64el) or defined(parisc) or
|
||||
defined(sparc) or defined(nimdoc):
|
||||
defined(sparc) or defined(sparc64) or defined(nimdoc):
|
||||
const SO_REUSEPORT* = cint(0x0200)
|
||||
## Multiple binding: load balancing on incoming TCP connections
|
||||
## or UDP packets. (Requires Linux kernel > 3.9)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue