When I took a look at codes under "thread', I found there are some places where BOOST_NO_ANSI_APIS is related
( for example in once.hpp )
#ifdef BOOST_NO_ANSI_APIS typedef wchar_t once_char_type #else typedef char once_char_type #endif
I am wondering if the boost_thread is NOT related to Unicode ( some said so??? ), why are there some codes above??
My basic question is How to build Unicode version of the library ( boost_thread...1-47)?
just defining BOOST_NO_ANSI_APIS in file is enough???
So you mean xxxA/xxxW pairs of WinAPI. BOOST_NO_ANSI_APIS causes to select xxxW, and it is automatically defined for WinCE where only xxxW exist. If you define it manually, you should do this both in bjam line (define=BOOST_NO_ANSI_APIS), and before you include boost headers in your program.