diff options
author | Roland McGrath <roland@gnu.org> | 2003-09-09 06:44:48 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2003-09-09 06:44:48 +0000 |
commit | 25c0b916b6bdf86470d8977839d505f4da23bbce (patch) | |
tree | d599f0d2dac69e043851d69ffe32c01ab4425b81 /sysdeps/unix/sysv/linux | |
parent | ea72a68d42cb620ccd38a309f6036361300a3151 (diff) | |
download | glibc-25c0b916b6bdf86470d8977839d505f4da23bbce.tar glibc-25c0b916b6bdf86470d8977839d505f4da23bbce.tar.gz glibc-25c0b916b6bdf86470d8977839d505f4da23bbce.tar.bz2 glibc-25c0b916b6bdf86470d8977839d505f4da23bbce.zip |
2003-09-08 Roland McGrath <roland@frob.com>
* sysdeps/unix/sysv/linux/speed.c
(cfsetospeed): Only set c_ospeed under [_HAVE_STRUCT_TERMIOS_C_OSPEED].
(cfsetispeed): Only set c_ispeed under [_HAVE_STRUCT_TERMIOS_C_ISPEED].
* sysdeps/unix/sysv/linux/bits/termios.h
(_HAVE_STRUCT_TERMIOS_C_ISPEED, _HAVE_STRUCT_TERMIOS_C_OSPEED): Define.
* sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
* sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
Diffstat (limited to 'sysdeps/unix/sysv/linux')
-rw-r--r-- | sysdeps/unix/sysv/linux/alpha/bits/termios.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/alpha/bits/termios.h b/sysdeps/unix/sysv/linux/alpha/bits/termios.h index 079073dd54..0abe34f596 100644 --- a/sysdeps/unix/sysv/linux/alpha/bits/termios.h +++ b/sysdeps/unix/sysv/linux/alpha/bits/termios.h @@ -1,5 +1,6 @@ /* termios type and macro definitions. Linux version. - Copyright (C) 1993, 94, 95, 96, 97, 99 Free Software Foundation, Inc. + Copyright (C) 1993,1994,1995,1996,1997,1999,2003 + Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -36,6 +37,8 @@ struct termios cc_t c_line; /* line discipline (== c_cc[33]) */ speed_t c_ispeed; /* input speed */ speed_t c_ospeed; /* output speed */ +#define _HAVE_STRUCT_TERMIOS_C_ISPEED 1 +#define _HAVE_STRUCT_TERMIOS_C_OSPEED 1 }; /* c_cc characters */ |