Answer by Jared Dykstra for IFDEF in if condition
Yes, just add some newlines. The #ifdef and #endif need to be on their own lines:if(Something() || SomethingElse() #ifdef __TEST__ || SomethingTest() #endif ){ // Code Sequence}
View ArticleIFDEF in if condition
Is it possible to use #ifdef macro in a if condition like this?if(Something() || SomethingElse() #ifdef __TEST__ || SomethingTest()#endif ){// Code Sequence}
View Article
More Pages to Explore .....