Branch: Tag:

2015-04-07

2015-04-07 09:13:00 by Henrik Grubbström (Grubba) <grubba@grubba.org>

[portability] Replaced use of MAX with MAXIMUM.

The macro MAX is apparently available on Linux, but not on Solaris 10.

2493:    this->buffer = xalloc(1);    else    this->buffer = xalloc(len); -  this->allocated = MAX(len,1); +  this->allocated = MAXIMUM(len,1);    this->malloced = 1;    }    else