Browse Source

* small freebsd <-> OS X fix

git-svn-id: trunk@11084 -
marco 17 years ago
parent
commit
0cf0c22521
1 changed files with 3 additions and 1 deletions
  1. 3 1
      packages/users/examples/testpass2.pp

+ 3 - 1
packages/users/examples/testpass2.pp

@@ -42,7 +42,9 @@ Begin
       printpchar('pw_shell',p^.pw_shell);
       printpchar('pw_shell',p^.pw_shell);
      {$ifdef BSD}
      {$ifdef BSD}
       printpchar('pw_expire',inttostr(p^.pw_expire));
       printpchar('pw_expire',inttostr(p^.pw_expire));
-      printpchar('pw_fields',inttostr(p^.pw_fields));
+      {$ifdef FreeBSD}
+        printpchar('pw_fields',inttostr(p^.pw_fields)); 
+      {$endif}
      {$endif}
      {$endif}
     End;
     End;
   nrgids := 100;
   nrgids := 100;