At 09:38 AM 9/1/99 +0200, Michael Sperber [Mr. Preprocessor] wrote:
Yo Andy,
thanks for the patch!
>>>>> "Andy" == Andy Piper <andy(a)xemacs.org> writes:
Andy> [1 <text/plain; us-ascii (7bit)>]
Andy> Does this fix it?
Almost. There are uses of `Max' in xlwtabs.c---trivial enough to fix
with this:
--- lwlib/xlwtabs.c.orig Wed Sep 1 09:34:12 1999
+++ lwlib/xlwtabs.c Wed Sep 1 09:34:38 1999
@@ -63,7 +63,9 @@
#include <X11/StringDefs.h>
#ifdef HAVE_XMU
#include <X11/Xmu/Misc.h>
-#endif
+#else /* #if !HAVE_XMU */
+#define Max(x, y) (((x) > (y)) ? (x) : (y))
+#endif /* !HAVE_XMU */
#include "xlwtabsP.h"
#include "xlwgcs.h"
---and uses of `XA_TEXT' in xlwgauge.c which I don't know to fix.
Ok. I've done this slightly differently. The XA_TEXT thing should be gone.
At a cvs server near you shortly....
andy
1999-09-01 Andy Piper <andy(a)xemacs.org>
* xlwgauge.c: use xmu.h
* xlwcheckbox.c: ditto.
* xlwradio.c: ditto.
* xmu.h: define Xmu/Misc.h things.
--------------------------------------------------------------
Dr Andy Piper
Senior Consultant Architect, BEA Systems Ltd