SN-0058 已核对来源,附原文与上下文。
那就好,在 FreeBSD 上跑得正常吗?
That's good, is it running fine on FreeBSD?
我把改动提交到 headers.h 了。为保持一致,我用的是 __BSD__。宏的完整列表在 http://docs.wxwidgets.org/stable/wx_cppconst.html
I committed the changes to headers.h. For consistency, I used __BSD__. The complete list of defines is at http://docs.wxwidgets.org/stable/wx_cppconst.html
#ifdef __BSD__
#ifdef __BSD__
#include
#include
#endif
#endif
malloc.h 只在 windows 上需要,我会在它再惹麻烦之前把它挪进 __WXMSW__ 区段。
malloc.h is only needed on windows, I'll move that into the __WXMSW__ section before it causes any more trouble.