summaryrefslogtreecommitdiff
path: root/cad/magic/files/patch-textio::textioInt.h
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2008-02-04 19:43:52 +0000
committerMartin Wilke <miwi@FreeBSD.org>2008-02-04 19:43:52 +0000
commiteaf1a85f3fc348a904bd655ec4bead283c567e6d (patch)
tree1c6964cc51e42b61fc918b34ac9d1fe81f5aa433 /cad/magic/files/patch-textio::textioInt.h
parent- Update to 1.0.8 (diff)
Use termios.h instead of sgtty.h
PR: 120049 Submitted by: Ed Schouten <ed@fxq.nl>
Diffstat (limited to 'cad/magic/files/patch-textio::textioInt.h')
-rw-r--r--cad/magic/files/patch-textio::textioInt.h13
1 files changed, 9 insertions, 4 deletions
diff --git a/cad/magic/files/patch-textio::textioInt.h b/cad/magic/files/patch-textio::textioInt.h
index f459d515cd6c..8fca49f3396f 100644
--- a/cad/magic/files/patch-textio::textioInt.h
+++ b/cad/magic/files/patch-textio::textioInt.h
@@ -1,11 +1,16 @@
--- textio/textioInt.h.orig Tue Dec 9 16:41:17 2003
+++ textio/textioInt.h Tue Dec 9 16:41:29 2003
-@@ -53,7 +53,7 @@
+@@ -48,7 +48,7 @@
+ #define TX_LONG_CMD2 ';' /* Alternate way of invoking a long command. */
+
+ /* all of the state associated with a tty terminal */
+-#if !defined(SYSV) && !defined(CYGWIN)
++#if !defined(__FreeBSD__) && !defined(SYSV) && !defined(CYGWIN)
+ typedef struct {
struct sgttyb tx_i_sgtty;
struct tchars tx_i_tchars;
- } txTermState;
--#endif SYSV
-+#endif
+@@ -56,4 +56,4 @@
+ #endif SYSV
extern int TxGetInputEvent();
-extern void txFprintfBasic();