#undef PC, which Solaris2 defines in sys/types.h, clobbering the
authorJohn Gilmore <gnu@cygnus>
Thu, 11 Jun 1992 08:29:01 +0000 (08:29 +0000)
committerJohn Gilmore <gnu@cygnus>
Thu, 11 Jun 1992 08:29:01 +0000 (08:29 +0000)
termcap global variable PC.

readline/ChangeLog
readline/readline.c

index 1cf525df1c95fb5894968f920397ce4dce3391e9..aaeb934ce916df2825f10449cbc75f340305e127 100644 (file)
@@ -1,3 +1,8 @@
+Thu Jun 11 01:27:45 1992  John Gilmore  (gnu at cygnus.com)
+
+       * readline.c:  #undef PC, which Solaris2 defines in sys/types.h,
+       clobbering the termcap global variable PC.
+
 Tue Jun  9 17:30:23 1992  Fred Fish  (fnf@cygnus.com)
 
        * config/{mh-ncr3000, mh-sysv4}:  Change INSTALL to use
index de1142f0950115d6c6f98ac7132a2261f15b1ca6..696abf611ec5271aa6c5cd65c80819aba5de4afe 100644 (file)
@@ -1968,6 +1968,11 @@ static char *term_string_buffer = (char *)NULL;
 /* Non-zero means this terminal can't really do anything. */
 int dumb_term = 0;
 
+/* On Solaris2, sys/types.h brings in sys/reg.h,
+   which screws up the Termcap variable PC, used below.  */
+
+#undef PC      
+
 char PC;
 char *BC, *UP;