Prevent Linux min/max error (#15107)
This commit is contained in:
		
				
					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
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user