common: add MIN and MAX macros
This commit is contained in:
@@ -11,4 +11,7 @@
|
||||
#define IVY_API extern
|
||||
#endif
|
||||
|
||||
#define MIN(x, y) ((x) < (y) ? (x) : (y))
|
||||
#define MAX(x, y) ((x) > (y) ? (x) : (y))
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user