¡@

Home 

c++ Programming Glossary: myvariable

How to test if preprocessor symbol is #define'd but has no value?

http://stackoverflow.com/questions/3781520/how-to-test-if-preprocessor-symbol-is-defined-but-has-no-value

been defined but has no value Something like that #define MYVARIABLE #if defined MYVARIABLE #MYVARIABLE ... blablabla ... #endif.. value Something like that #define MYVARIABLE #if defined MYVARIABLE #MYVARIABLE ... blablabla ... #endif EDIT The reason why I am.. like that #define MYVARIABLE #if defined MYVARIABLE #MYVARIABLE ... blablabla ... #endif EDIT The reason why I am doing it is..