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:
Maxim Ganetsky 2025-05-23 16:20:26 +03:00
parent 82798fb439
commit 204af2c079
2 changed files with 2 additions and 2 deletions

View File

@ -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}

View File

@ -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}