Bitcointalk · A few suggestions

中本聪,2009 年 12 月 17 日

SN-0058 已核对来源,附原文与上下文。

阅读语言
中文译文

那就好,在 FreeBSD 上跑得正常吗?

我把改动提交到 headers.h 了。为保持一致,我用的是 __BSD__。宏的完整列表在 http://docs.wxwidgets.org/stable/wx_cppconst.html #ifdef __BSD__ #include #endif

malloc.h 只在 windows 上需要,我会在它再惹麻烦之前把它挪进 __WXMSW__ 区段。

ORIGINAL · 英文原文
That's good, is it running fine on FreeBSD?

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__
#include <netinet/in.h>
#endif

malloc.h is only needed on windows, I'll move that into the __WXMSW__ section before it causes any more trouble.
来源
Bitcointalk 原始链接 ↗ 记录编号 SN-0058