Explorar o código

* another sysctl fix. Original fixes were done in the assumption that the
sysctl param type change was merged. It wasn't. So from specific 3.0 versions
now all versions.

git-svn-id: trunk@36170 -

marco %!s(int64=8) %!d(string=hai) anos
pai
achega
324ec4af58
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      rtl/bsd/sysctl.pp

+ 1 - 1
rtl/bsd/sysctl.pp

@@ -109,7 +109,7 @@ Uses Syscall;
 CONST  syscall_nr___sysctl                    = 202;
 {$endif}
 
-{$if defined(VER3_0_0) or defined(VER3_0_2)}
+{$ifdef ver3_0}
 function FPsysctl (Name: pchar; namelen:cuint; oldp:pointer;oldlenp:psize_t; newp:pointer;newlen:size_t):cint;
 {$else}
 function FPsysctl (Name: pcint; namelen:cuint; oldp:pointer;oldlenp:psize_t; newp:pointer;newlen:size_t):cint;