#if A == func2



所有跟贴·加跟贴·新语丝科技论坛

送交者: neo6 于 2005-7-19, 12:38:20:


#define A func1

#if A == func2
//the stuff here are still compiled. the above condition does not work at all
#endif

I know I can use #ifdef and define another macro to walk around this problem, but is there a simpler walk around?



所有跟贴:


加跟贴

笔名: 密码(可选项): 注册笔名请按这里

标题:

内容(可选项):

URL(可选项):
URL标题(可选项):
图像(可选项):


所有跟贴·加跟贴·新语丝科技论坛