Procházet zdrojové kódy

NetBSD getcwd system call also returns string length

git-svn-id: trunk@25661 -
pierre před 12 roky
rodič
revize
8a0dccf590
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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