diff options
Diffstat (limited to 'odb/details/win32/mutex.hxx')
-rw-r--r-- | odb/details/win32/mutex.hxx | 8 |
1 files changed, 7 insertions, 1 deletions
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 <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> |