Skip to content

Commit

Permalink
Prevent Linux min/max error (MarlinFirmware#15107)
Browse files Browse the repository at this point in the history
  • Loading branch information
tpruvot authored and thinkyhead committed Aug 30, 2019
1 parent ba91bca commit d068470
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions Marlin/src/HAL/HAL_LINUX/include/Arduino.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d068470

Please sign in to comment.