# Re: BSD detection

Post by: satoshi on August 12, 2010, 09:14:20 PM

This is in SVN rev 130. &nbsp;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
```

---

Source file: bitcoin-forum-satoshi-nakamoto.tgz

External link: https://bitcointalk.org/index.php?topic=790.msg8919#msg8919
