Bitcointalk

BSD detection

中本聪 · 2010 年 8 月 12 日

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

阅读语言

这已进 SVN rev 130。检查一下能不能编译通过。

This is in SVN rev 130. Check that it compiles right.

#if (defined(__unix__) || defined(unix)) && !defined(USG)
#include <sys/param.h>  // to get BSD define
#endif
#ifdef __WXMAC_OSX__
#ifndef BSD
#define BSD 1
#endif
#endif
上下文
来源
Bitcointalk 原始链接 ↗ 记录编号 SN-2290

阅读字号

选择适合你的字号,之后阅读会继续使用。