瀏覽代碼

* Fixed Marco's fix to make the pipes unit compiling in both branches again

sg 22 年之前
父節點
當前提交
68c4c570c3
共有 1 個文件被更改,包括 8 次插入1 次删除
  1. 8 1
      fcl/unix/pipes.inc

+ 8 - 1
fcl/unix/pipes.inc

@@ -25,12 +25,19 @@ Uses
 Function CreatePipeHandles (Var Inhandle,OutHandle : Longint) : Boolean;
 
 begin
+{$ifdef ver1_0}
+  Result := AssignPipe (Inhandle,OutHandle);
+{$else}
   Result := (AssignPipe (Inhandle,OutHandle)<>-1);
+{$endif}
 end;
 
 {
   $Log$
-  Revision 1.6  2003-11-14 11:08:50  marco
+  Revision 1.7  2003-11-22 12:47:07  sg
+  * Fixed Marco's fix to make the pipes unit compiling in both branches again
+
+  Revision 1.6  2003/11/14 11:08:50  marco
    * assignpipe fix
 
   Revision 1.5  2002/09/07 15:15:29  peter