Nimble: Removes global min/max definition causing problems with other libraries

This commit is contained in:
Rahul Tank
2022-12-16 10:22:51 +05:30
parent 490216a2ac
commit 72e637750e
2 changed files with 9 additions and 1 deletions

View File

@ -43,6 +43,14 @@ static int recent_test_id = STANDARD_TEST_ID;
#define FAULT_ARR_SIZE 2
#ifndef min
#define min(a, b) ((a) < (b) ? (a) : (b))
#endif
#ifndef max
#define max(a, b) ((a) > (b) ? (a) : (b))
#endif
static bool has_reg_fault = true;
static int