Oops. Don't undef MIN/MAX

This commit is contained in:
Scott Lahteine 2019-07-05 18:42:14 -05:00
parent 021c4ccf5f
commit 535b70057e

View file

@ -21,9 +21,6 @@
*/
#pragma once
#undef MIN
#undef MAX
// Use NUM_ARGS(__VA_ARGS__) to get the number of variadic arguments
#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
#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)