Boost logo

Boost :

Subject: Re: [boost] [test] Where should I put replacement functions for WinCE?
From: Gennadiy Rozental (rogeeff_at_[hidden])
Date: 2012-09-01 22:50:17


Jan Hudec <bulb <at> ucw.cz> writes:

>
> Hello Folks,
>
> Windows CE don't have time and clock functions, getenv function and errno.h
> (though they seem to have _errno function). I needed to define these things
> to get Boost.Test to build for WinCE.
>
> Now it would be nice to have this work by default. I can provide the
> definitions (they are quite simple), but I am not sure where would be correct
> place for them. Should I add them to config/platform/win32.hpp, create
> config/platform/wince.hpp or put them just in test?

You can either add it into Config lib or into Boost.Test's config itself.
You'll need to make sure it does not affect anything else.

Gennadiy


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk