Add arm64 support (untested)

This commit is contained in:
def 2015-07-31 23:57:50 +02:00
commit 13389eab9b
3 changed files with 5 additions and 2 deletions

View file

@ -25,6 +25,7 @@ type
mips, ## Mips based processor
mipsel, ## Little Endian Mips based processor
arm, ## ARM based processor
arm64, ## ARM64 based processor
vm, ## Some Virtual machine: Nim's VM or JavaScript
avr ## AVR based processor
@ -72,6 +73,7 @@ const
elif defined(mips): CpuPlatform.mips
elif defined(mipsel): CpuPlatform.mipsel
elif defined(arm): CpuPlatform.arm
elif defined(arm64): CpuPlatform.arm64
elif defined(vm): CpuPlatform.vm
elif defined(avr): CpuPlatform.avr
else: CpuPlatform.none