原始文献 / 论坛帖 / Re: A few suggestions

Re: A few suggestions

Bitcointalk · 2009-12-17 18:38:06 UTC

AuthorSatoshi Nakamoto
TitleRe: A few suggestions
Date2009-12-17 18:38:06 UTC
ForumBitcointalk · 原文

不错,在 FreeBSD 上运行正常吗?

我把改动提交到 headers.h 了。为了统一,我用的是 __BSD__。完整的 define 列表在 http://docs.wxwidgets.org/stable/wx_cppconst.html
#ifdef __BSD__
#include <netinet/in.h>
#endif

malloc.h 只在 Windows 上需要,我把它移到 __WXMSW__ 那部分去,免得再惹麻烦。

英文原文

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.