diff options
| author | Richard M. Stallman | 1997-07-07 06:42:35 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1997-07-07 06:42:35 +0000 |
| commit | 0dc57298fdc0760d8c69dcbcb940145f77022f5d (patch) | |
| tree | 2b79cedc885eccc91f5aa063a86929506eb60f02 /src | |
| parent | d7d265f47125420cdbd62c083e1dc69e290a111d (diff) | |
| download | emacs-0dc57298fdc0760d8c69dcbcb940145f77022f5d.tar.gz emacs-0dc57298fdc0760d8c69dcbcb940145f77022f5d.zip | |
(ospeed): Declare as short unless HAVE_TERMIOS_H and LINUX.
Diffstat (limited to 'src')
| -rw-r--r-- | src/cm.h | 6 |
1 files changed, 4 insertions, 2 deletions
| @@ -100,9 +100,11 @@ struct cm | |||
| 100 | 100 | ||
| 101 | extern struct cm Wcm; /* Terminal capabilities */ | 101 | extern struct cm Wcm; /* Terminal capabilities */ |
| 102 | extern char PC; /* Pad character */ | 102 | extern char PC; /* Pad character */ |
| 103 | #ifdef HAVE_TERMIOS_H | 103 | |
| 104 | #if defined (HAVE_TERMIOS_H) || defined (LINUX) | ||
| 104 | #include <termios.h> | 105 | #include <termios.h> |
| 105 | /* HJL's version of libc is said to need this on the Alpha. */ | 106 | /* HJL's version of libc is said to need this on the Alpha. |
| 107 | On the other hand, DEC OSF1 on the Alpha needs ospeed to be a short. */ | ||
| 106 | extern speed_t ospeed; | 108 | extern speed_t ospeed; |
| 107 | #else | 109 | #else |
| 108 | extern short ospeed; /* Output speed (from sg_ospeed) */ | 110 | extern short ospeed; /* Output speed (from sg_ospeed) */ |