#elif defined without parentheses

Using VS2005 with BLAH_BLAH defined the following preprocessor conditional is false:

#elif defined BLAH_BLAH

but if I change it to

#elif defined(BLAH_BLAH)

it is true.

Why do the parentheses make a difference here?

6
задан Brian Tompsett - 汤莱恩 20 June 2016 в 17:51
поделиться