Boost logo

Boost :

From: Stefan Slapeta (stefan_at_[hidden])
Date: 2005-04-04 15:12:55


Gennadiy Rozental wrote:
>
> I guess I could use hack like this:
>
> #define BOOST_MS_STRUCTURED_EXCEPTION_HANDLING
> #if !defined(_WIN32_WINNT)
> #if defined _WINBASE_
> #error "either define _WIN32_WINNT or include boost headers in front
please"
> #endif
> #define _WIN32_WINNT 0x0400
> #endif
>
> #include <wtypes.h>
> #include <winbase.h>
>

I guess you mean

#if !defined(_WIN32_WINNT) || _WIN32_WINNT < 0x0400
etc.

And don't forget the jamfiles ;-)

Cheers,

Stefan


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk