From: Stefan Slapeta (stefan_at_[hidden])
Date: 2005-04-04 16:22:29


Gennadiy Rozental wrote:
>>I guess you mean
>>
>>#if !defined(_WIN32_WINNT) || _WIN32_WINNT < 0x0400
>>etc.
>
>
> Actually if _WIN32_WINNT < 0x0400 it's different situation. I should
> probably just disable unsuported logic.
>

But you will get the same result (missing "IsDebuggerPresent") if
someone defines the macro to a lower value as if he doesn't define it at
all!

>
>>And don't forget the jamfiles ;-)
>
>
> Sorry.Maybe it's long day at work, but I did not get the joke. Could you
> clarify.
>

Was no joke. You must define _WIN32_WINNT globally in the jamfiles as
well. Just printing an error won't help for the tests!

Stefan