Explorar o código

fixed Do_IsDevice()

git-svn-id: trunk@3022 -
Jonas Maebe %!s(int64=19) %!d(string=hai) anos
pai
achega
822e41689d
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      rtl/bsd/sysos.inc

+ 1 - 1
rtl/bsd/sysos.inc

@@ -157,7 +157,7 @@ Function Do_IsDevice(Handle:Longint):boolean;
   data is function-dependent.
 }
 CONST
-  IOCtl_TCGETS=$5401;
+  IOCtl_TCGETS=$40000000+$2C7400+ 19;
 var
   Data : array[0..255] of byte; {Large enough for termios info}
 begin