← Back to the archive
Bitcoin.onl > Archive > Bitcoin Forum > Re: BSD detection
AuthorTopic: Re: BSD detection
satoshiFounderSr. Member★★★★
Re: BSD detection
« on: August 12, 2010, 09:14:20 PM UTC »

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

Satoshi designed Bitcoin so you can hold it yourself. Start here →

KEEP THE ARCHIVE ONLINE

Tip in sats.

Bitcoin.onl is free to read. If the archive is useful to you, a tip helps keep it online. Thanks to readers who keep this online.

Lightning (preferred)faramber539@walletofsatoshi.com
On-chainbc1p7dk9n0uv9ryuv73a578zglgq6f2ml0sz9xgy9du9ms9z89evtuts7py4ak
© Bitcoin.onl · Home · Is quantum a threat? · Keep the archive online · Follow us on Bluesky and Nostr