Boost C++ Libraries: Ticket #37: Support for CodeWarrior for Palm OS 8 https://svn.boost.org/trac10/ticket/37 <pre class="wiki">I just worked out a small patch that allows the Boost random package to work with CodeWarrior for Palm OS 8. The difficulty was that CW for Palm ships with a stripped-down version of MSL that does not include unistd.h. In order to get Boost Random to compile, I had to edit &lt;boost/config/stdlib/msl.hpp&gt;. The change is as follows: #if defined(__MSL__) &amp;&amp; (__MSL__ &gt;= 0x5000) # define BOOST_HAS_STDINT_H 32c32,34 &lt; # define BOOST_HAS_UNISTD_H --- &gt; # if ! defined(__PALMOS_TRAPS__) &gt; # define BOOST_HAS_UNISTD_H &gt; # endif // boilerplate code: # include &lt;boost/config/posix_features.hpp&gt; #endif </pre> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/37 Trac 1.4.3 jmaurer Sun, 25 Jan 2004 21:20:00 GMT status changed https://svn.boost.org/trac10/ticket/37#comment:1 https://svn.boost.org/trac10/ticket/37#comment:1 <ul> <li><strong>status</strong> <span class="trac-field-old">assigned</span> → <span class="trac-field-new">closed</span> </li> </ul> <pre class="wiki">Logged In: YES user_id=53943 Incorporated into current CVS. May break things, therefore not in 1.31 release branch. </pre> Ticket