Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

on non-gcc compilers this is valid

#define include_them 1 #if (include_them==1) #define hotcode /##/ #else #define hotcode #endif

void func (void) { hotcode printf("if included_them true, compile this line"); }



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: