Replace MIN# / MAX# with variadic MIN / MAX (#11960)
This commit is contained in:
parent
e10f730478
commit
b30ca652ae
9 changed files with 91 additions and 69 deletions
|
|
@ -145,12 +145,7 @@ typedef int32_t(*PFI)();
|
|||
/* External data/function define */
|
||||
#define EXTERN extern
|
||||
|
||||
#ifndef MAX
|
||||
#define MAX(a, b) (((a) > (b)) ? (a) : (b))
|
||||
#endif
|
||||
#ifndef MIN
|
||||
#define MIN(a, b) (((a) < (b)) ? (a) : (b))
|
||||
#endif
|
||||
#include "../../../../src/core/minmax.h"
|
||||
|
||||
/**
|
||||
* @}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue