Browse Source

* removes syscalls unit from bsd.pas uses clause if libc is used

git-svn-id: trunk@5240 -
Almindor 19 năm trước cách đây
mục cha
commit
0fcb772a28
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  1. 2 0
      rtl/bsd/bsd.pas

+ 2 - 0
rtl/bsd/bsd.pas

@@ -112,8 +112,10 @@ procedure EV_SET(kevp: PKEvent; const aIdent: cuint; const aFilter: cshort;
 
 implementation
 
+{$IFNDEF FPC_USE_LIBC}
 uses
   SysCall;
+{$endif}
 
 procedure EV_SET(kevp: PKEvent; const aIdent: cuint; const aFilter: cshort; const aFlags: cushort;
                                 const aFFlags: cuint; const aData: cint; const auData: Pointer); inline;