其他参与者原话dkaparis原帖 ↗headers.h 里有这样一段代码:
There is this piece of code in headers.h:
#ifdef __WXMAC_OSX__
#ifdef __WXMAC_OSX__
#define __WXMAC__ 1
#define __WXMAC__ 1
#define __WXOSX__ 1
#define __WXOSX__ 1
#define __BSD__ 1
#define __BSD__ 1
#endif
#endif
#endif
#endif
那段代码本来就是个馊主意,我要删了它。Mac 相关代码应该只用 __WXMAC_OSX__,不要用 __WXMAC__ 或 __WXOSX__,我们也该停用 __BSD__。
That code was a bad idea anyway, I'm deleting it. Any Mac code should only use __WXMAC_OSX__, not __WXMAC__ or __WXOSX__, and we should stop using __BSD__.
引用 · 发言者未注明#if (defined(__unix__) || defined(unix)) && !defined(USG)
#if (defined(__unix__) || defined(unix)) && !defined(USG)
#include
#include
#endif
#endif
这能保证 Mac 上 BSD 一定被定义吗?
Will that definitely cause BSD to be defined on Mac?
当前版本尚未建立逐条校对状态记录。来源核验、历史审校与当前译文校对是不同事项。
译文内容版本:7429fdcf1018。用于比对文本,不代表校对等级或更新时间。
请填写对应原文、现译文、建议译法和理由。复制后通过你联系本站作者的渠道提交;此处不会自动发送。