Moved min/max macros from global scope in header file to translation unit exlusice c files

This commit is contained in:
timoxd7
2024-11-07 15:26:32 +08:00
committed by Abhinav Kudnar
parent 32b2124f54
commit ca6c6173fc
-8
View File
@@ -30,14 +30,6 @@ extern "C" {
#define static_assert _Static_assert
#endif
#ifndef min
#define min(a, b) ((a)<(b)?(a):(b))
#endif
#ifndef max
#define max(a, b) ((a)>(b)?(a):(b))
#endif
#include "syscfg/syscfg.h"
#include "nimble/nimble_npl.h"