Browse Source

Oops. Don't undef MIN/MAX

Scott Lahteine 6 years ago
parent
commit
535b70057e
1 changed files with 0 additions and 3 deletions
  1. 0
    3
      Marlin/src/core/minmax.h

+ 0
- 3
Marlin/src/core/minmax.h View File

21
  */
21
  */
22
 #pragma once
22
 #pragma once
23
 
23
 
24
-#undef MIN
25
-#undef MAX
26
-
27
 // Use NUM_ARGS(__VA_ARGS__) to get the number of variadic arguments
24
 // Use NUM_ARGS(__VA_ARGS__) to get the number of variadic arguments
28
 #define _NUM_ARGS(_0,_24_,_23,_22,_21,_20,_19,_18,_17,_16,_15,_14,_13,_12,_11,_10,_9,_8,_7,_6,_5,_4,_3,_2,_1,N,...) N
25
 #define _NUM_ARGS(_0,_24_,_23,_22,_21,_20,_19,_18,_17,_16,_15,_14,_13,_12,_11,_10,_9,_8,_7,_6,_5,_4,_3,_2,_1,N,...) N
29
 #define NUM_ARGS(V...) _NUM_ARGS(0,V,24,23,22,21,20,19,18,17,16,15,14,13,12,11,10,9,8,7,6,5,4,3,2,1,0)
26
 #define NUM_ARGS(V...) _NUM_ARGS(0,V,24,23,22,21,20,19,18,17,16,15,14,13,12,11,10,9,8,7,6,5,4,3,2,1,0)

Loading…
Cancel
Save