dotgnu-pnet-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Dotgnu-pnet-commits] pnet/support console.c, 1.9, 1.10 serial.c, 1.3, 1


From: Rhys Weatherley <address@hidden>
Subject: [Dotgnu-pnet-commits] pnet/support console.c, 1.9, 1.10 serial.c, 1.3, 1.4
Date: Tue, 18 Nov 2003 06:25:06 +0000

Update of /cvsroot/dotgnu-pnet/pnet/support
In directory subversions:/tmp/cvs-serv16619/support

Modified Files:
        console.c serial.c 
Log Message:


Work around missing termios definitions under Darwin.


Index: console.c
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/support/console.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -d -r1.9 -r1.10
*** console.c   11 Nov 2003 22:12:04 -0000      1.9
--- console.c   18 Nov 2003 06:25:04 -0000      1.10
***************
*** 806,809 ****
--- 806,834 ----
  #endif
  
+ /*
+  * Work around missing symbols on some platforms.
+  */
+ #ifndef       IUCLC
+ #define       IUCLC   0
+ #endif
+ #ifndef       OLCUC
+ #define       OLCUC   0
+ #endif
+ #ifndef       OFILL
+ #define       OFILL   0
+ #endif
+ #ifndef       OFDEL
+ #define       OFDEL   0
+ #endif
+ #ifndef       OCRNL
+ #define       OCRNL   0
+ #endif
+ #ifndef       ONOCR
+ #define       ONOCR   0
+ #endif
+ #ifndef       ONLRET
+ #define       ONLRET  0
+ #endif
+ 
  void ILConsoleSetMode(ILInt32 mode)
  {

Index: serial.c
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/support/serial.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** serial.c    13 Nov 2003 22:51:17 -0000      1.3
--- serial.c    18 Nov 2003 06:25:04 -0000      1.4
***************
*** 202,205 ****
--- 202,214 ----
  #define       OFDEL   0
  #endif
+ #ifndef       OCRNL
+ #define       OCRNL   0
+ #endif
+ #ifndef       ONOCR
+ #define       ONOCR   0
+ #endif
+ #ifndef       ONLRET
+ #define       ONLRET  0
+ #endif
  
  void ILSerialModify(ILSerial *handle, ILSerialParameters *parameters)





reply via email to

[Prev in Thread] Current Thread [Next in Thread]