mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-19 04:09:20 +02:00
* fixed compilation on targets where tthreadid is not an integer type after
r17992 git-svn-id: trunk@17993 -
This commit is contained in:
parent
5c3aca5148
commit
d85ccd7418
@ -73,7 +73,7 @@ Var
|
||||
{$endif FPC_HAS_FEATURE_CONSOLEIO}
|
||||
{ Support platforms where threadvar memory is managed outside of the RTL:
|
||||
reset ThreadID and allow ReleaseThreadVars to be unassigned }
|
||||
ThreadID := 0;
|
||||
ThreadID := TThreadID(0);
|
||||
if assigned(CurrentTM.ReleaseThreadVars) then
|
||||
CurrentTM.ReleaseThreadVars;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user