mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-15 06:29:38 +02:00
* Fix during defined USE_pthread_mutex_trylock
This commit is contained in:
parent
121f6fce22
commit
f2372c0c0a
@ -912,7 +912,7 @@ function TMutex.WaitFor(aTimeout: Cardinal): TWaitResult;
|
|||||||
{$IFDEF UNIX}
|
{$IFDEF UNIX}
|
||||||
var
|
var
|
||||||
td,tm,Errno: Integer;
|
td,tm,Errno: Integer;
|
||||||
{$IFNDEF USE_pthread_mutex_trylock}
|
{$IFDEF USE_pthread_mutex_trylock}
|
||||||
tnew : timeval;
|
tnew : timeval;
|
||||||
{$ENDIF}
|
{$ENDIF}
|
||||||
tnow: ttimeval;
|
tnow: ttimeval;
|
||||||
|
Loading…
Reference in New Issue
Block a user