Tcl Source Code

Artifact [816a7cd466]
Login

Artifact 816a7cd466ee18601bfba97a3d5f53f67f79daa8:

Attachment "0003-Remove-inoperative-comment-and-chain-of-undefs.patch" to ticket [1903339fff] added by jenglish 2008-02-28 03:21:11.
From 2ca7ec6f67ba000680723e7a19b1410bb9eacc4a Mon Sep 17 00:00:00 2001
From: Joe English <[email protected]>
Date: Wed, 27 Feb 2008 11:51:19 -0800
Subject: [PATCH] Remove inoperative comment and chain of #undefs.

sys/ioctl.h is no longer included by tclPort.h, so conflicts
with termios.h and/or termio.h cannot occur at this point.

diff --git a/unix/tclUnixChan.c b/unix/tclUnixChan.c
index 93c102a..4696fb8 100644
--- a/unix/tclUnixChan.c
+++ b/unix/tclUnixChan.c
@@ -16,32 +16,6 @@
 #include "tclInt.h"	/* Internal definitions for Tcl. */
 #include "tclIO.h"	/* To get Channel type declaration. */
 
-/*
- * sys/ioctl.h has already been included by tclPort.h. Including termios.h or
- * termio.h causes a bunch of warning messages because some duplicate (but not
- * contradictory) #defines exist in termios.h and/or termio.h
- */
-
-#undef NL0
-#undef NL1
-#undef CR0
-#undef CR1
-#undef CR2
-#undef CR3
-#undef TAB0
-#undef TAB1
-#undef TAB2
-#undef XTABS
-#undef BS0
-#undef BS1
-#undef FF0
-#undef FF1
-#undef ECHO
-#undef NOFLSH
-#undef TOSTOP
-#undef FLUSHO
-#undef PENDIN
-
 #define SUPPORTS_TTY
 
 #undef DIRECT_BAUD
-- 
1.5.0.2