The *_MAX macro definitions are not defined everywhere, can't use those