@@ -472,7 +472,7 @@ function GetOSRelDate:Longint;
both old 3.0.X definition and new definition using pcint type.
Problem solved using a special type called
FPSysCtlFirstArgType. }
-{$ifdef VER3_0}
+{$if defined(VER3_0_0) or defined(VER3_0_2)}
type
FPSysCtlFirstArgType = PChar;
{$else}
@@ -109,7 +109,7 @@ Uses Syscall;
CONST syscall_nr___sysctl = 202;
{$endif}
-{$ifdef ver3_0}
function FPsysctl (Name: pchar; namelen:cuint; oldp:pointer;oldlenp:psize_t; newp:pointer;newlen:size_t):cint;
function FPsysctl (Name: pcint; namelen:cuint; oldp:pointer;oldlenp:psize_t; newp:pointer;newlen:size_t):cint;