Can I use an ifdef in a #define line ...
Can I use an #ifdef in a #define line, to define something two different ways, like this?
#define a b \
e f g
No. You can't ``run the preprocessor on itself,'' so to speak. What you can do is use one of two completely separate #define lines, depending on the #ifdef setting:
#define a b c d
#define a b e f g
2016-02-03, 625👍, 0💬
How To Set Background to Transparent or Non-transparent? - CSS Tutorials - HTML Formatting Model: Bl...
What Happens If a Hyper Link Points to a Music File? - XHTML 1.0 Tutorials - Understanding Hyper Lin...
How To Merge Values of Two Arrays into a Single Array? - PHP Script Tips - PHP Built-in Functions fo...
How To Apply Filtering Criteria at Group Level? - MySQL FAQs - SQL SELECT Query Statements with GROU...
How do you override a defined macro? You can use the #undef preprocessor directive to undefine (over...