Do not use '#undef aap xxx'; it is not allowed for ANSI C

This commit is contained in:
ceriel 1991-12-16 13:45:18 +00:00
parent d20534521e
commit dc44eba062
2 changed files with 4 additions and 4 deletions

View file

@ -3,6 +3,6 @@
* (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands. * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands.
* See the copyright notice in the ACK home directory, in the file "Copyright". * See the copyright notice in the ACK home directory, in the file "Copyright".
*/ */
#undef W2S 4 /*#define W2S 4 /* double word size */
#undef FS 4 /*#define FS 4 /* float size */
#undef F2S 8 /*#define F2S 8 /* double size */

View file

@ -77,7 +77,7 @@ struct tchars {
#else #else
#define HUPCL 0000001 /* unused ??? */ #define HUPCL 0000001 /* unused ??? */
#endif #endif
#undef COOKED 0000000 /* neither CBREAK nor RAW */ /*#define COOKED 0000000 /* neither CBREAK nor RAW */
#ifdef __BDS4_2 #ifdef __BDS4_2
#define TIOCGETP (('t'<<8) | 8 | (6 << 16) | 0x40000000) #define TIOCGETP (('t'<<8) | 8 | (6 << 16) | 0x40000000)