aboutsummaryrefslogtreecommitdiff
path: root/odb/details/win32/dll.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'odb/details/win32/dll.cxx')
-rw-r--r--odb/details/win32/dll.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/odb/details/win32/dll.cxx b/odb/details/win32/dll.cxx
index 843be8d..c802380 100644
--- a/odb/details/win32/dll.cxx
+++ b/odb/details/win32/dll.cxx
@@ -8,6 +8,10 @@
//
#if defined(LIBODB_STATIC_LIB) || !defined (_MSC_VER) && !defined(DLL_EXPORT)
+#ifndef WIN32_LEAN_AND_MEAN
+#define WIN32_LEAN_AND_MEAN
+#endif
+
#include <windows.h>
#include <odb/details/win32/init.hxx>