0
0
Fork 0
mirror of https://github.com/MarlinFirmware/Marlin.git synced 2025-01-19 08:08:25 +00:00

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 *
// 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))
#ifndef isnan