mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-10-01 11:09:40 +02:00
LazUtils, MultiThreadProcs: fixed _SC_NPROCESSORS_ONLN constant value, issue #41659
(cherry picked from commit 11688b8541
)
Co-authored-by: Maxim Ganetsky <maxim@lazarus-ide.org>
This commit is contained in:
parent
82798fb439
commit
204af2c079
@ -77,7 +77,7 @@ uses ctypes;
|
||||
{$ENDIF}
|
||||
|
||||
{$IFDEF Linux}
|
||||
const _SC_NPROCESSORS_ONLN = 83;
|
||||
const _SC_NPROCESSORS_ONLN = 84;
|
||||
function sysconf(i: cint): clong; cdecl; external name 'sysconf';
|
||||
{$ENDIF}
|
||||
|
||||
|
@ -35,7 +35,7 @@ procedure CallLocalProc(AProc, Frame: Pointer; Param1: PtrInt;
|
||||
implementation
|
||||
|
||||
{$IFDEF Linux}
|
||||
const _SC_NPROCESSORS_ONLN = 83;
|
||||
const _SC_NPROCESSORS_ONLN = 84;
|
||||
function sysconf(i: cint): clong; cdecl; external name 'sysconf';
|
||||
{$ENDIF}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user