Fix warning C4003: not enough actual parameters for macro

This would trigger when the argument to STRING2 was a MACRO that was defined but had no value
This commit is contained in:
Alexander Karatarakis 2017-02-17 21:58:03 -08:00
parent 1d31809051
commit 4cceb6deaf

View File

@ -30,7 +30,7 @@
#define STRING2(x) #x #define STRING2(...) #__VA_ARGS__
#define STRING(x) STRING2(x) #define STRING(x) STRING2(x)
#define SHOW_VALUE(x) " " #x " = " STRING2(x) #define SHOW_VALUE(x) " " #x " = " STRING2(x)