summary refs log tree commit diff stats
path: root/lib/arch/arch.nim
diff options
context:
space:
mode:
Diffstat (limited to 'lib/arch/arch.nim')
-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