[fpc-pascal] GetCurrentThreadID under FreeBSD vs Linux

Sven Barth pascaldragon at googlemail.com
Sat Feb 9 12:58:03 CET 2013


On 09.02.2013 01:04, Graeme Geldenhuys wrote:
> On 2013-02-08 17:08, Ewald wrote:
>>      {$macro on}
>>      {$define Debug_ThreadSelf:= ptruint(GetCurrentThreadID)}
>
> I must confess I haven't used macros in FPC. Also the code I'm working
> with is cross platform and cross compiler. I don't know if Delphi
> supports such macros. Quick search in Delphi 7 help (lowest Delphi we
> support) doesn't list $macro anywhere.

Delphi doesn't support Macros.

Regards,
Sven




More information about the fpc-pascal mailing list