소스 검색

NetBSD getcwd system call also returns string length

git-svn-id: trunk@25661 -
pierre 12 년 전
부모
커밋
8a0dccf590
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      rtl/bsd/ossysc.inc

+ 1 - 1
rtl/bsd/ossysc.inc

@@ -572,7 +572,7 @@ begin
                End;
            End
       end
-{$ifdef openbsd}
+{$if defined(openbsd) or defined (netbsd)}
    { At least for openbsd, a positive return value is
      the length of the returned pchar }
    else if (ret<0) then