Boost logo

Boost :

From: Gennadiy Rozental (gennadiy.rozental_at_[hidden])
Date: 2005-04-04 15:42:38

> #if !defined(_WIN32_WINNT)
> #define _WIN32_WINNT 0x0400
> #endif
> #include <wtypes.h>
> #include <winbase.h>
> The problem is that winbase.h is already included before by the <locale>
> header _without_ the definition for _WIN32_WINNT. That's why
> IsDebuggerPresent() is finally missing!

So you are saying that CW 9.4 uses <locale> that include winbase.h, while
the one that is used by CW 8.1 uses <locale> that doesn't?

What should I do to make offline library compile without errors? Should I
move STL includes?


Boost list run by bdawes at, gregod at, cpdaniel at, john at