Timeline for One line #if statement
Current License: CC BY-SA 3.0
8 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
May 23, 2017 at 11:52 | history | edited | URL Rewriter Bot |
replaced http://stackoverflow.com/ with https://stackoverflow.com/
|
|
May 19, 2016 at 10:30 | comment | added | Neil | Most of the C compilers I used (back in the 90s) didn't allow #if within a #define (hence the problem you are having). Unless you can use boost (as per the other answer), which is a C++ library, then it's unlikely to be easily solvable. | |
May 19, 2016 at 10:27 | comment | added | Neil | Which compiler and version are you using? as this is a pre-processor specific thing, I doubt there is a generic way of doing it and you'll have to resort to some tricks. | |
May 19, 2016 at 10:02 | vote | accept | Schafwolle | ||
May 19, 2016 at 9:46 | answer | added | Quentin | timeline score: 2 | |
May 19, 2016 at 9:44 | answer | added | M.M | timeline score: 1 | |
May 19, 2016 at 9:43 | answer | added | Lundin | timeline score: 4 | |
May 19, 2016 at 9:33 | history | asked | Schafwolle | CC BY-SA 3.0 |