Use of MIN(a,b) and MAX(a,b) macros/functions

I have imported a library into Mbed Studio (using OS6.2.1) which uses MIN(a,b) and MAX(a,b) functions.

These are causing compile problems even though they show up in clang intellisense as legit options.

How do I resolve?

Thanks