Browse Source

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

ceriel 32 years ago
parent
commit
dc44eba062
2 changed files with 4 additions and 4 deletions
  1. 3 3
      emtest/test.h
  2. 1 1
      include/_tail_cc/sgtty.h

+ 3 - 3
emtest/test.h

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

+ 1 - 1
include/_tail_cc/sgtty.h

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