Bitcointalk · BSD detection

中本聪,2010 年 8 月 12 日

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

阅读语言
中文译文

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

#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
ORIGINAL · 英文原文
This is in SVN rev 130.  Check that it compiles right.

Code:
#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
上下文
← 上一条 SN-2290 · 当前 下一条 → 在档案中查看完整主题串 →
来源
Bitcointalk 原始链接 ↗ 记录编号 SN-2290