Browse Source

Fix compilation error introduced in my last patch for non-openbsd systems

git-svn-id: trunk@19468 -
pierre 14 years ago
parent
commit
216113e80d
1 changed files with 2 additions and 0 deletions
  1. 2 0
      rtl/bsd/ossysc.inc

+ 2 - 0
rtl/bsd/ossysc.inc

@@ -542,6 +542,8 @@ begin
    { 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
+{$else not opensd}
+   else
 {$endif openbsd}
 {$endif openbsd}
      begin
      begin
        seterrno(-ret);
        seterrno(-ret);