Timechain
Search Donate
Sponsors
Cake Wallet, private Bitcoin and Monero walletSideShift.ai, no-signup crypto exchangeOrangeRock, non-custodial bitcoin spot and perps tradingBraiins Hashpower, buy and sell Bitcoin hashrateLayer Two Labs, drivechains for Bitcoin

Re: BSD detection

dkaparis
> Quote from: dkaparis on August 11, 2010, 11:00:16 PM
> There is this piece of code in headers.h:
>
> #ifdef __WXMAC_OSX__
> #define __WXMAC__ 1
> #define __WXOSX__ 1
> #define __BSD__ 1
> #endif
> #endif

> Quote
> #if (defined(__unix__) || defined(unix)) && !defined(USG)
> #include <sys/param.h>
> #endif

That code was a bad idea anyway, I'm deleting it.  Any Mac code should only use __WXMAC_OSX__, not __WXMAC__ or __WXOSX__, and we should stop using __BSD__.

Will that definitely cause BSD to be defined on Mac?

All writings · Satoshi era timeline

0:000:00