Sfoglia il codice sorgente

+ Need to ifdef LIBC_OLDERRNO in implementation

michael 22 anni fa
parent
commit
547efccdb6
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  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}