Branch: Tag:

2014-12-04

2014-12-04 19:23:45 by Henrik Grubbström (Grubba) <grubba@grubba.org>

[portability] Replaced use of MIN/MAX with macros MINIMUM/MAXIMUM.

The macros MIN and MAX are apparently available on Linux, but not
on Solaris 10.

2001:    }    if( aflags & b->flags & STRING_CONTENT_CHECKED )    { -  ret->min = MIN( amin, b->min ); -  ret->max = MAX( amax, b->max ); +  ret->min = MINIMUM( amin, b->min ); +  ret->max = MAXIMUM( amax, b->max );    ret->flags |= STRING_CONTENT_CHECKED;    }    else