On Sun, 2004-06-27 at 18:51, Benjamin Riefenstahl wrote:
> Hi Tomas,
> Tomas Ukkonen <tomas.ukkonen@...> writes:
> > #if (_WIN32_WINNT >= 0x0500) || (_WIN32_WINDOWS >= 0x0490)
> > HANDLE WINAPI OpenThread(...);
> > #endif
> > Removing the checks fixes compilates errors.
> > I'm newbie to windows programming but it seems MingW fails to set
> > either _WIN32_WINNT or _WIN32_WINDOWS correctly. The first one has
> > value 0x0400 and the latter one isn't defined (at least outside
> > winbase.h).
> The programmer (i.e. you) is supposed to set those kind of defines
> based on the minimum OS version that he wants to support.
Thanks. I thought header files were supposed to work differently.