소스 검색

* small freebsd <-> OS X fix

git-svn-id: trunk@11084 -
marco 17 년 전
부모
커밋
0cf0c22521
1개의 변경된 파일3개의 추가작업 그리고 1개의 파일을 삭제
  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);
      {$ifdef BSD}
       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}
     End;
   nrgids := 100;