Explorar el Código

NetBSD getcwd system call also returns string length

git-svn-id: trunk@25661 -
pierre hace 12 años
padre
commit
8a0dccf590
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      rtl/bsd/ossysc.inc

+ 1 - 1
rtl/bsd/ossysc.inc

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