summary refs log tree commit diff stats
path: root/lib
diff options
context:
space:
mode:
authorAndreas Rumpf <rumpf_a@web.de>2016-10-20 23:02:26 +0200
committerAndreas Rumpf <rumpf_a@web.de>2016-10-20 23:02:26 +0200
commitdb6b2bf1c786b466ad30a10dd4f29094f2d42b54 (patch)
treef7c42783b722133da2289b38d9b530988d02dece /lib
parent13b68a12d3c02d2ddce685164475a542af6193ab (diff)
downloadNim-db6b2bf1c786b466ad30a10dd4f29094f2d42b54.tar.gz
fixes #4879
Diffstat (limited to 'lib')
-rw-r--r--lib/arch/arch.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/arch/arch.nim b/lib/arch/arch.nim
index c8ae3da1c..0b3df3d3c 100644
--- a/lib/arch/arch.nim
+++ b/lib/arch/arch.nim
@@ -34,7 +34,7 @@ when defined(amd64):
     Reg* {.pure.} = enum
       AX, BX, CX, DX, SI, DI, BP, SP, IP, R8, R9, R10, R11, R12, R13, R14, R15, TOTAL
 
-elif defined(i386):
+elif defined(i386) or defined(nimdoc):
     # identical fastcall calling convention on all x86 OS
     type
       JmpBufReg* {.pure.} = enum