id summary reporter owner description type status milestone component version severity resolution keywords cc
37 Support for CodeWarrior for Palm OS 8 nobody jmaurer "{{{
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 .
The change is as follows:
#if defined(__MSL__) && (__MSL__ >= 0x5000)
# define BOOST_HAS_STDINT_H
32c32,34
< # define BOOST_HAS_UNISTD_H
---
> # if ! defined(__PALMOS_TRAPS__)
> # define BOOST_HAS_UNISTD_H
> # endif
// boilerplate code:
# include
#endif
}}}" Patches closed None None None