Skip Menu |

This queue is for tickets about the Tk CPAN distribution.

Report information
The Basics
Id: 133260
Status: open
Priority: 0/
Queue: Tk

People
Owner: Nobody in particular
Requestors: HMBRAND [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: (no value)
Fixed in: (no value)



Subject: Strawberry 5.32 needs to define MAX in encGlue.c
--8<--- --- encGlue.c.org 2020-09-01 17:34:14.514068300 +0200 +++ encGlue.c 2020-09-01 17:42:48.710327700 +0200 @@ -39,6 +39,9 @@ #define NEED_PUSHSTACK_HACK #endif +#undef MAX +#define MAX(a,b) ((a)>(b)?(a):(b)) + /* -------------------------------------------------------------------------- */ /* UTF8-ness routines /* -------------------------------------------------------------------------- */ -->8---
On 2020-09-01 11:46:24, HMBRAND wrote: Show quoted text
> --8<--- > --- encGlue.c.org 2020-09-01 17:34:14.514068300 +0200 > +++ encGlue.c 2020-09-01 17:42:48.710327700 +0200 > @@ -39,6 +39,9 @@ > #define NEED_PUSHSTACK_HACK > #endif > > +#undef MAX > +#define MAX(a,b) ((a)>(b)?(a):(b)) > + > /* > -------------------------------------------------------------------------- > */ > /* UTF8-ness routines > /* > -------------------------------------------------------------------------- > */ > -->8---
Thanks for the heads up --- I hope I can create a devel release with this change until next weekend.