Opened 17 years ago

Closed 15 years ago

#37 closed Patches (None)

Support for CodeWarrior for Palm OS 8

Reported by: nobody Owned by: jmaurer
Milestone: Component: None
Version: None Severity:
Keywords: Cc:


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 <boost/config/stdlib/msl.hpp>.

The change is as follows:

  #if defined(__MSL__) && (__MSL__ >= 0x5000)
  #  define BOOST_HAS_STDINT_H
< #  define BOOST_HAS_UNISTD_H
> #  if ! defined(__PALMOS_TRAPS__)
> #    define BOOST_HAS_UNISTD_H
> #  endif
     // boilerplate code:
  #  include <boost/config/posix_features.hpp>

Change History (1)

comment:1 Changed 15 years ago by jmaurer

Status: assignedclosed
Logged In: YES 

Incorporated into current CVS.
May break things, therefore not in 1.31 release branch.
Note: See TracTickets for help on using tickets.