Prevent Linux min/max error (#15107)

This commit is contained in:
Tanguy Pruvot 2019-08-31 00:46:09 +02:00 committed by Scott Lahteine
parent ba91bca1eb
commit d068470e18

View File

@ -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