If you #include date_time prior to asio and as previously stated:
#define WIN32_LEAN_AND_MEAN
that should get rid of the errors..
Cheers,
Tim
On Tue, Jul 8, 2008 at 9:10 AM, gchen
Jean-Sebastien Stoezel wrote:
Here are the boost header files I include in my application:
#include
#include #include I guess I am then using the boost date/time. I am not sure I understand what boost macros I need to define and so far I have defined none.
Isn't there another way to fix this issue, rather than hacking the boost files?
Add a #define WIN32_LEAN_AND_MEAN or #include
before including all boost headers. #define WIN32_LEAN_AND_MEAN // #include
// or this #include #include #include _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
-- Regards, Timothy St. Clair [timothysc@gmail.com]