[fnd] Begin to deprecate some macros.

This commit is contained in:
jakcron 2018-06-24 16:18:29 +08:00
parent 81a8aaf68a
commit 91c2d40111

View file

@ -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)
{