Browse Source

* fixed wince console I/O.

git-svn-id: trunk@3720 -
yury 19 years ago
parent
commit
c564dfeb5b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      rtl/win/sysfile.inc

+ 1 - 1
rtl/win/sysfile.inc

@@ -32,7 +32,7 @@ begin
 {$ifndef WINCE}
 {$ifndef WINCE}
   do_isdevice:=(getfiletype(handle)=2);
   do_isdevice:=(getfiletype(handle)=2);
 {$else WINCE}
 {$else WINCE}
-  do_isdevice:=False;
+  do_isdevice:=(handle = StdInputHandle) or (handle = StdOutputHandle) or (handle = StdErrorHandle);
 {$endif WINCE}
 {$endif WINCE}
 end;
 end;