diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2010-09-09 09:43:37 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2010-09-09 09:43:37 +0200 |
commit | bdb356fd270bd80223837bce6de5cdc3b67565ea (patch) | |
tree | 8b175312605e31b30ebe028e97a67bd9bc850ac7 /odb/details/win32/thread.hxx | |
parent | 21b15d068cf8347162719428aace3222cad3690c (diff) |
Include lean windows.h
Diffstat (limited to 'odb/details/win32/thread.hxx')
-rw-r--r-- | odb/details/win32/thread.hxx | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/odb/details/win32/thread.hxx b/odb/details/win32/thread.hxx index d52de48..42170fb 100644 --- a/odb/details/win32/thread.hxx +++ b/odb/details/win32/thread.hxx @@ -8,7 +8,13 @@ #include <odb/pre.hxx> -#include <windows.h> +#ifndef WIN32_LEAN_AND_MEAN +# define WIN32_LEAN_AND_MEAN +# include <windows.h> +# undef WIN32_LEAN_AND_MEAN +#else +# include <windows.h> +#endif #include <odb/details/export.hxx> #include <odb/details/win32/mutex.hxx> |