Opened 16 years ago

Closed 14 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>

Attachments (0)

Change History (1)

comment:1 Changed 14 years ago by jmaurer

Status: assignedclosed
Logged In: YES 

Incorporated into current CVS.
May break things, therefore not in 1.31 release branch.

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain jmaurer.
The resolution will be deleted.

Add Comment

E-mail address and name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.