projects
/
mit-scheme.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
68f5c1e
)
Include either <term.h> or <termcap.h> but not both.
author
Chris Hanson
<org/chris-hanson/cph>
Mon, 5 Mar 2012 01:50:39 +0000
(17:50 -0800)
committer
Chris Hanson
<org/chris-hanson/cph>
Mon, 5 Mar 2012 01:50:39 +0000
(17:50 -0800)
src/microcode/tterm.c
patch
|
blob
|
history
diff --git
a/src/microcode/tterm.c
b/src/microcode/tterm.c
index 4cc12a3252f23029780cbf7265213c426b233662..ee0d9a5f4fafc5d701faddc4ec71cf67723aca65 100644
(file)
--- a/
src/microcode/tterm.c
+++ b/
src/microcode/tterm.c
@@
-51,13
+51,10
@@
USA.
macro expanding to a function call. WTF? Unix sucks. */
#undef ospeed
-#if defined(HAVE_TERM_H) || defined(HAVE_TERMCAP_H)
-# ifdef HAVE_TERM_H
-# include <term.h>
-# endif
-# ifdef HAVE_TERMCAP_H
-# include <termcap.h>
-# endif
+#if defined(HAVE_TERM_H)
+# include <term.h>
+#elif defined(HAVE_TERMCAP_H)
+# include <termcap.h>
#else
extern int tgetent (char *, const char *);
extern int tgetnum (const char *);