{
"subject": "Re: BSD detection",
"content": {
"format": "html",
"body": "<div class=\"post\"><div class=\"quoteheader\"><a href=\"https://bitcointalk.org/index.php?topic=790.msg8807#msg8807\">Quote from: dkaparis on August 11, 2010, 11:00:16 PM</a></div><div class=\"quote\">There is this piece of code in headers.h:<br/><tt><br/>#ifdef __WXMAC_OSX__<br/>#define __WXMAC__ 1<br/>#define __WXOSX__ 1<br/>#define __BSD__ 1<br/>#endif<br/>#endif<br/></tt><br/></div>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__.<br/><br/><div class=\"quoteheader\">Quote</div><div class=\"quote\"><tt><br/>#if (defined(__unix__) || defined(unix)) && !defined(USG)<br/>#include <sys/param.h><br/>#endif<br/></tt><br/></div>Will that definitely cause BSD to be defined on Mac?<br/></div>"
},
"source": {
"name": "Bitcoin Forum",
"url": "https://bitcointalk.org/index.php?topic=790.msg8814#msg8814"
},
"date": "2010-08-12T00:02:06Z"
}