Changeset c707861 in rtems for cpukit/libcsupport/src/termios.c


Ignore:
Timestamp:
Dec 6, 2002, 6:25:58 AM (18 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
f69283e2
Parents:
382e1eb3
Message:

2002-12-06 Ralf Corsepius <corsepiu@…>

  • configure.ac: Add various checks to enhance portability.
  • src/termios.c: Reflect changes to configure.ac.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/libcsupport/src/termios.c

    r382e1eb3 rc707861  
    3535 *  FreeBSD does not support a full POSIX termios so we have to help it out
    3636 */
    37 
    38 #if defined(__FreeBSD__)
     37#if !HAVE_DECL_XTABS
    3938#define XTABS   0
     39#endif
     40
     41#if !HAVE_DECL_ONLRET
    4042#define ONLRET  0
    41 #define ONOCR   0
     43#endif
     44#if !HAVE_DECL_ONOCR
     45#define ONOCR  0
     46#endif
     47#if !HAVE_DECL_TABDLY
    4248#define TABDLY  0
    43 #define OLCUC   0
    44 #define ILCUC   0
    45 #define OCRNL   0
     49#endif
     50#if !HAVE_DECL_OLCUC
     51#define OLCUC 0
     52#endif
     53#if !HAVE_DECL_ILCUC
     54#define ILCUC 0
     55#endif
     56#if !HAVE_DECL_OCRNL
     57#define OCRNL 0
     58#endif
     59#if !HAVE_DECL_IUCLC
    4660#define IUCLC   0
    4761#endif
    4862
    49 /*
    50  *  Cygwin does not define these
    51  */
    52 
    53 #if defined(__CYGWIN__)
     63#if !HAVE_DECL_ECHOPRT
    5464#define ECHOPRT 0
    5565#endif
Note: See TracChangeset for help on using the changeset viewer.