Browse Source

+ Need to ifdef LIBC_OLDERRNO in implementation

michael 22 năm trước cách đây
mục cha
commit
547efccdb6
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  1. 2 0
      packages/base/libc/errno.inc

+ 2 - 0
packages/base/libc/errno.inc

@@ -1,6 +1,7 @@
 
 { Translation of macro }
 
+{$ifndef LIBC_OLDERRNO}
 function errno : error_t; 
 
 begin
@@ -12,3 +13,4 @@ procedure seterrno (value : error_t);
 begin
   __errno_location()^:=Value;  
 end;
+{$endif}