Using true/false in #define

Discussion to talk about software related topics only.
Post Reply
SeeCwriter
Posts: 605
Joined: Mon May 12, 2008 10:55 am

Using true/false in #define

Post by SeeCwriter »

With v2.8.7 I could define a macro using true or false.

Code: Select all

#define UseNewFeature    true

#if UseNewFeature
    DoSomething();
#endif

But v2.9.1, the compiler no longer recognizes true/false in a maco. In the example above, DoSomething() will not get called.
Does that seem right?
Post Reply