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