Hi all! Does anyone know off the top of their heads how to check equality of a multi-word pre-compiler macro? For instance,
#define x long double
// elsewhere...
#if (x == long double)
do something
#endif
The above code won't compile in GNU `g++`, reporting `error: missing binary operator before token "double"`. Any ideas?
#define x long double
// elsewhere...
#if (x == long double)
do something
#endif
The above code won't compile in GNU `g++`, reporting `error: missing binary operator before token "double"`. Any ideas?