Browse Source

+ Need to ifdef LIBC_OLDERRNO in implementation

michael 21 years ago
parent
commit
547efccdb6
1 changed files with 2 additions and 0 deletions
  1. 2 0
      packages/base/libc/errno.inc

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

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