可能重复:
Is there a clean way to prevent windows.h from creating a near & far macro?的#define远,近的#define WINDEF.H
是什么在WINDEF.H这两个定义的呢?
#define far /* nothing */
#define near /* nothing */
我知道它与near and far指针和他们不再使用的事实做,但是,它安全#undef
他们,所以我可以在我的代码使用near
和far
为函数和变量名?
或者,我应该简单地避免它,从不使用near
和far
作为标识符?
而80286机器重45磅! – bobobobo 2013-05-30 15:27:55