← 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
Original: view the exact post on bitcointalk.org ↗Text compiled by the Satoshi Nakamoto Institute, used under CC BY-SA 4.0. Formatting by Bitcoin.onl.
© Bitcoin.onl · Home