{ "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.&nbsp; 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)) &amp;&amp; !defined(USG)<br/>#include &lt;sys/param.h&gt;<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" }
Inscription number 18,210,177
Genesis block 799,367
File type json
File size 1.35 KB
Creation date Nov 25,2023 3:52 am