]> git.mxchange.org Git - simgear.git/commitdiff
Tweak for SGI portability.
authorcurt <curt>
Fri, 4 Dec 1998 01:24:35 +0000 (01:24 +0000)
committercurt <curt>
Fri, 4 Dec 1998 01:24:35 +0000 (01:24 +0000)
Serial/serial.cxx

index 3be1e1c23d815b027e436b6243b26838c8cdc6f4..01bd9d863651a8bffeddfe76a172e3e5b8fed043 100644 (file)
@@ -80,12 +80,14 @@ bool fgSERIAL::open_port(const string& device) {
 
     // software flow control on
     config.c_iflag |= IXON;
-    config.c_iflag |= IXOFF;
+    // config.c_iflag |= IXOFF;
 
     // config.c_cflag |= CLOCAL;
 
+#if ! defined( sgi )    
     // disable hardware flow control
     config.c_cflag &= ~(CRTSCTS);
+#endif
 
     // cout << "config.c_iflag = " << config.c_iflag << endl;
 
@@ -204,6 +206,9 @@ int fgSERIAL::write_port(const string& value) {
 
 
 // $Log$
+// Revision 1.7  1998/12/04 01:24:35  curt
+// Tweak for SGI portability.
+//
 // Revision 1.6  1998/11/30 17:15:29  curt
 // Having the class destructor close the fd was a bad idea ... especially if you
 // ever make a copy of the instance and then subsequently destroy either.