소스 검색

* also check for FPC_ABI_WIN64 instead of WIN64 for the jmp_buf declaration

Sven/Sarah Barth 3 일 전
부모
커밋
9df9f1a0ff
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      rtl/x86_64/setjumph.inc

+ 2 - 2
rtl/x86_64/setjumph.inc

@@ -17,13 +17,13 @@
 type
    jmp_buf = packed record
      rbx,rbp,r12,r13,r14,r15,rsp,rip : qword;
-{$ifdef win64}
+{$ifdef FPC_ABI_WIN64}
      rsi,rdi : qword;
      xmm6,xmm7,xmm8,xmm9,xmm10,xmm11,xmm12,xmm13,xmm14,xmm15: record m1,m2: qword; end;
      mxcsr: longword;
      fpucw: word;
      padding: word;
-{$endif win64}
+{$endif FPC_ABI_WIN64}
    end;
    pjmp_buf = ^jmp_buf;