diff options
author | John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de> | 2019-06-03 08:20:00 +0200 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2019-06-03 08:20:00 +0200 |
commit | 5c5df61071412773fbf21adcf498a4942d23d92b (patch) | |
tree | 38005ae2c0cc12dc0eb67839b7af97de2b844206 /lib/system | |
parent | 4a485cb7ef67acd0f28f537df9551377ce4bb2b8 (diff) | |
download | Nim-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/system')
-rw-r--r-- | lib/system/platforms.nim | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/system/platforms.nim b/lib/system/platforms.nim index 80a21cd0b..1c35eeb0d 100644 --- a/lib/system/platforms.nim +++ b/lib/system/platforms.nim @@ -20,6 +20,7 @@ type powerpc64, ## 64 bit PowerPC powerpc64el, ## Little Endian 64 bit PowerPC sparc, ## Sparc based processor + sparc64, ## 64-bit Sparc based processor ia64, ## Intel Itanium amd64, ## x86_64 (AMD64); 64 bit x86 compatible CPU mips, ## Mips based processor @@ -76,6 +77,7 @@ const elif defined(powerpc64): CpuPlatform.powerpc64 elif defined(powerpc64el): CpuPlatform.powerpc64el elif defined(sparc): CpuPlatform.sparc + elif defined(sparc64): CpuPlatform.sparc64 elif defined(ia64): CpuPlatform.ia64 elif defined(amd64): CpuPlatform.amd64 elif defined(mips): CpuPlatform.mips |