Need MIN/MAX macros on SunOS too
Merge pull request #154 from wiedi/master

Need MIN/MAX macros on SunOS too

Patch by Sebastian Wiedenroth. Thanks!!!