summary refs log tree commit diff stats
path: root/lib/posix/posix_other.nim
diff options
context:
space:
mode:
authorJohn Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>2019-06-03 08:20:00 +0200
committerAndreas Rumpf <rumpf_a@web.de>2019-06-03 08:20:00 +0200
commit5c5df61071412773fbf21adcf498a4942d23d92b (patch)
tree38005ae2c0cc12dc0eb67839b7af97de2b844206 /lib/posix/posix_other.nim
parent4a485cb7ef67acd0f28f537df9551377ce4bb2b8 (diff)
downloadNim-5c5df61071412773fbf21adcf498a4942d23d92b.tar.gz
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
Diffstat (limited to 'lib/posix/posix_other.nim')
-rw-r--r--lib/posix/posix_other.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/posix/posix_other.nim b/lib/posix/posix_other.nim
index 261550d96..04071b75f 100644
--- a/lib/posix/posix_other.nim
+++ b/lib/posix/posix_other.nim
@@ -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)