Browse Source

Fix compatibility macros

vanilla_fb_2.0.x
Marcio T 4 years ago
committed by Scott Lahteine
parent
commit
9bbe9455cf
  1. 4
      Marlin/src/lcd/extui/lib/ftdi_eve_touch_ui/ftdi_eve_lib/compat.h

4
Marlin/src/lcd/extui/lib/ftdi_eve_touch_ui/ftdi_eve_lib/compat.h

@ -206,6 +206,10 @@
// Define macros for compatibility
// Use NUM_ARGS(__VA_ARGS__) to get the number of variadic arguments
#define _NUM_ARGS(_,Z,Y,X,W,V,U,T,S,R,Q,P,O,N,M,L,K,J,I,H,G,F,E,D,C,B,A,OUT,...) OUT
#define NUM_ARGS(V...) _NUM_ARGS(0,V,26,25,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)
#define _CAT(a,V...) a##V
#define CAT(a,V...) _CAT(a,V)

Loading…
Cancel
Save