diff options
author | svenbarth <svenbarth@3ad0048d-3df7-0310-abae-a5850022a9f2> | 2021-04-10 22:25:40 +0000 |
---|---|---|
committer | svenbarth <svenbarth@3ad0048d-3df7-0310-abae-a5850022a9f2> | 2021-04-10 22:25:40 +0000 |
commit | bf4778e3b48dc4dda6b43e0bb04184bf7a5de190 (patch) | |
tree | 9dc4bdc7d819336d5125830c21b2c93f9854586a | |
parent | e118d3e12b970720cc122a5c51fc25ac48873898 (diff) | |
download | fpc-bf4778e3b48dc4dda6b43e0bb04184bf7a5de190.tar.gz |
Merged revision(s) 39838 from trunk:
* only i386 uses oldfpccall for interrupts, all other architectures use now stdcall, resolves #34317
........
git-svn-id: https://svn.freepascal.org/svn/fpc/branches/fixes_3_2@49176 3ad0048d-3df7-0310-abae-a5850022a9f2
-rw-r--r-- | compiler/pdecsub.pas | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/compiler/pdecsub.pas b/compiler/pdecsub.pas index c4c900eac9..a8a7cf9eca 100644 --- a/compiler/pdecsub.pas +++ b/compiler/pdecsub.pas @@ -2564,7 +2564,11 @@ const idtok:_INTERRUPT; pd_flags : [pd_implemen,pd_body,pd_notobject,pd_notobjintf,pd_notrecord,pd_nothelper]; handler : @pd_interrupt; +{$ifdef i386} pocall : pocall_oldfpccall; +{$else i386} + pocall : pocall_stdcall; +{$endif i386} pooption : [po_interrupt]; mutexclpocall : [pocall_internproc,pocall_cdecl,pocall_cppdecl,pocall_stdcall,pocall_mwpascal, pocall_pascal,pocall_far16,pocall_oldfpccall,pocall_sysv_abi_cdecl,pocall_ms_abi_cdecl]; |