我注意到在MacOS X(Lion)中,__unix__没有定义宏.由于MacOS源于BSD UNIX,不应该是这样吗?
__unix__
是否有可能让编译器/预处理器知道我希望它被视为UNIX系统?
unix macos macros
macos ×1
macros ×1
unix ×1