瀏覽代碼

Fix dummy and wince fcl-process code after commit 54157a17

Pierre Muller 1 年之前
父節點
當前提交
7ffbbdd50b
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. 1 1
      packages/fcl-process/src/dummy/process.inc
  2. 1 1
      packages/fcl-process/src/wince/process.inc

+ 1 - 1
packages/fcl-process/src/dummy/process.inc

@@ -195,5 +195,5 @@ end;
 
 function TIODescriptor.SysIsTypeSupported(AValue: TIOType): Boolean;
 begin
-  Result:=aValue in [ioType,iotNone];
+  Result:=aValue in [ioType,iotDefault];
 end;

+ 1 - 1
packages/fcl-process/src/wince/process.inc

@@ -384,7 +384,7 @@ var
   Res : Boolean;
   
 begin
-  if IOType in [iotNone,iotFile] then begin
+  if IOType in [iotDefault,iotFile] then begin
     Result:=aHandle;
     exit;
   end;