Hello.

Current texinfo CVS doesn't quite build against DJGPP CVS.
It looks like the macro 'max' is no longer defined. The patch below
fixes the build for me.

Here's a ChangeLog entry:

2003-03-31  Richard Dawe  <[EMAIL PROTECTED]>

        * info/pcterm.c (pc_up_line): Use MAX macro instead of max,
        which is undefined.

Do I need to fill out any copyright assignment paperwork for this
one liner?

Thanks, bye, Rich =]

PS: Please CC me on repies, since I'm no subscribed to bug-texinfo.

Index: info/pcterm.c
===================================================================
RCS file: /cvsroot/texinfo/texinfo/info/pcterm.c,v
retrieving revision 1.2
diff -p -u -3 -r1.2 pcterm.c
--- info/pcterm.c       22 Mar 2003 17:43:05 -0000      1.2
+++ info/pcterm.c       31 Mar 2003 17:50:44 -0000
@@ -68,7 +68,7 @@ pc_up_line (void)
 {
   int x, y;
   ScreenGetCursor (&y, &x);
-  ScreenSetCursor (max (y-1, 0), x);
+  ScreenSetCursor (MAX (y-1, 0), x);
 }
 
 /* Move the cursor down one line. */



_______________________________________________
Bug-texinfo mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-texinfo

Reply via email to