소스 검색

+ Need to ifdef LIBC_OLDERRNO in implementation

michael 22 년 전
부모
커밋
547efccdb6
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  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}