[test] Where should I put replacement functions for WinCE?

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? Thanks, Jan -- Jan 'Bulb' Hudec <bulb@ucw.cz>

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
participants (2)
-
Gennadiy Rozental
-
Jan Hudec