Browse Source

Prevent Linux min/max error (#15107)

Tanguy Pruvot 5 years ago
parent
commit
d068470e18
1 changed files with 0 additions and 2 deletions
  1. 0
    2
      Marlin/src/HAL/HAL_LINUX/include/Arduino.h

+ 0
- 2
Marlin/src/HAL/HAL_LINUX/include/Arduino.h View File

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

Loading…
Cancel
Save