[fpc-devel] CThreads.pp

Ewald bloody.middlefinger at yellowcouch.org
Mon Nov 19 15:15:59 CET 2012


Once upon a time, on 11/19/2012 02:51 PM to be precise, Jonas Maebe said:
>
> On 18 Nov 2012, at 23:46, Jonas Maebe wrote:
>
>>
>> On 18 Nov 2012, at 14:24, Ewald wrote:
>>
>>> Right, I fixed this issue by adding a very simple type declaration at
>>> the top of the unit:
>>>
>>>   Type
>>>
>>>       TThreadID = System.TThreadID;
>>>
>>> That I didn't think of this before...
>>
>> It seems that the pthreads unit redefines the tthreadid type. That
>> one should probably be removed.
>
> I've removed it. Moreover it was only done in the *bsd/darwin, haiku
> and beos versions of that unit.
Cool!

That also explains why I didn't have the problem under linux...

-- 
Ewald




More information about the fpc-devel mailing list