Skip to content

Commit

Permalink
Fixed in msesystypes.pas threadty declaration on Windows 64 bit if fp…
Browse files Browse the repository at this point in the history
…c >= 3.2.0.
  • Loading branch information
fredvs committed Apr 15, 2020
1 parent 4781ce1 commit 7e74e92
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion lib/common/kernel/msesystypes.pas
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,17 @@ interface
{$ifndef FPC}
tlibhandle = thandle;
{$endif}
threadty = ptruint;

{$if defined(FPC) and (fpc_fullversion >= 030200)}
{$if defined(cpu64) and defined(mswindows)}
threadty = Longword;
{$else}
threadty = ptruint;
{$endif}
{$else}
threadty = ptruint;
{$endif}

procidty = ptrint;
pprocidty = ^procidty;
procidarty = array of procidty; //same item size as winidarty!
Expand Down

0 comments on commit 7e74e92

Please sign in to comment.