From bdb356fd270bd80223837bce6de5cdc3b67565ea Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 9 Sep 2010 09:43:37 +0200 Subject: Include lean windows.h --- odb/details/win32/mutex.hxx | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'odb/details/win32/mutex.hxx') diff --git a/odb/details/win32/mutex.hxx b/odb/details/win32/mutex.hxx index 9dbe3a8..7791f6c 100644 --- a/odb/details/win32/mutex.hxx +++ b/odb/details/win32/mutex.hxx @@ -8,7 +8,13 @@ #include -#include +#ifndef WIN32_LEAN_AND_MEAN +# define WIN32_LEAN_AND_MEAN +# include +# undef WIN32_LEAN_AND_MEAN +#else +# include +#endif #include -- cgit v1.1