mirror of
https://github.com/jakcron/nstool
synced 2024-12-25 06:01:12 +00:00
[fnd] Begin to deprecate some macros.
This commit is contained in:
parent
81a8aaf68a
commit
91c2d40111
1 changed files with 5 additions and 2 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue