
4 Apr
2005
4 Apr
'05
3:51 p.m.
Gennadiy Rozental wrote:
Does anybody know a reliable way to workaround this? Why _WIN32_WINNT isn't defined by default? Could we define it in Jamfiles or Boost.Build sources?
The problem is that if you define it, the code will not execute on Win95 (at least for _WIN32_WINNT=4; higher values have more restrictions, of course). I don't know if there's really a huge problem with this. Another (real) issue: defining it in the jamfiles makes the boost libs compile. However, you cannot avoid that a user writes something like this in his own code: #include <windows.h> #include <boost/test/...> This fails for the same reasons! Stefan