diff --git a/lib/libfnd/include/fnd/types.h b/lib/libfnd/include/fnd/types.h index 2eeb08a..123b9c7 100644 --- a/lib/libfnd/include/fnd/types.h +++ b/lib/libfnd/include/fnd/types.h @@ -6,8 +6,11 @@ typedef uint8_t byte_t; -#define MIN(x,y) ((x) <= (y)? (x) : (y)) -#define MAX(x,y) ((x) >= (y)? (x) : (y)) +#define _MIN(x,y) ((x) <= (y)? (x) : (y)) +#define _MAX(x,y) ((x) >= (y)? (x) : (y)) + +#define MIN(x,y) (_MIN(x,y)) +#define MAX(x,y) (_MAX(x,y)) static inline uint64_t align(uint64_t size, uint64_t align) {