Browse Source

* 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 8 years ago
parent
commit
324ec4af58
1 changed files with 1 additions and 1 deletions
  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;