Ignore OSPEED/ospeed in termcap. Nothing current should need this.
authorLyndon Nerenberg <lyndon@orthanc.ca>
Sun, 25 Dec 2011 00:38:47 +0000 (16:38 -0800)
committerKen Hornstein <kenh@pobox.com>
Wed, 4 Jan 2012 02:32:34 +0000 (21:32 -0500)
uip/termsbr.c

index 92f7a0e..93e6dd6 100644 (file)
 # define TXTSIZ BUFSIZ
 #endif
 
+#ifdef notdef_lyndon_posix
+
+/*
+       XXX No current termcap should need this.  If your compile barfs,
+       email details to lyndon@orthanc.ca.  This code will vanish soon ...
+*/
 /*
  * These variables are sometimes defined in,
  * and needed by the termcap library.
  */
-#ifdef HAVE_OSPEED
-# ifdef MUST_DEFINE_OSPEED
+# ifdef HAVE_OSPEED
+#  ifdef MUST_DEFINE_OSPEED
 extern short ospeed;
 extern char PC;
-# endif
-#else
+#  endif
+# else
 short ospeed;
 char PC;
-#endif
+# endif
+
+#endif notdef_lyndon_posix
 
 static long speedcode;