Prevent Linux min/max error (#15107)

2.0.x
Tanguy Pruvot 5 years ago committed by Scott Lahteine
parent ba91bca1eb
commit d068470e18

@ -49,8 +49,6 @@ typedef uint8_t byte;
#define PGM_P const char * #define PGM_P const char *
// Used for libraries, preprocessor, and constants // Used for libraries, preprocessor, and constants
#define min(a,b) ((a)<(b)?(a):(b))
#define max(a,b) ((a)>(b)?(a):(b))
#define abs(x) ((x)>0?(x):-(x)) #define abs(x) ((x)>0?(x):-(x))
#ifndef isnan #ifndef isnan

Loading…
Cancel
Save