diff options
Diffstat (limited to 'odb/details/win32/condition.hxx')
-rw-r--r-- | odb/details/win32/condition.hxx | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/odb/details/win32/condition.hxx b/odb/details/win32/condition.hxx index 3c40f3a..a66e722 100644 --- a/odb/details/win32/condition.hxx +++ b/odb/details/win32/condition.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 <cstddef> // std::size_t |