From b7fe338bbee54f18f2ed4e7bb44883972a5e2fbc Mon Sep 17 00:00:00 2001 From: florian Date: Tue, 9 Mar 2021 21:07:51 +0000 Subject: [PATCH] * mips and xtensa compilation fixed git-svn-id: trunk@48928 - --- rtl/unix/cthreads.pp | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/rtl/unix/cthreads.pp b/rtl/unix/cthreads.pp index 0590b2515f..58eab49fc1 100644 --- a/rtl/unix/cthreads.pp +++ b/rtl/unix/cthreads.pp @@ -165,6 +165,16 @@ Type PINTRTLEvent = ^TINTRTLEvent; threadvarblocksize:=align(threadvarblocksize,16); {$endif cpuriscv} + {$ifdef cpumips} + {$define threadvarblocksize_set} + threadvarblocksize:=align(threadvarblocksize,16); + {$endif cpumips} + + {$ifdef cpuxtensa} + {$define threadvarblocksize_set} + threadvarblocksize:=align(threadvarblocksize,16); + {$endif cpuxtensa} + {$ifndef threadvarblocksize_set} {$error threadvarblocksize must be set! } {$endif threadvarblocksize_set}