summaryrefslogtreecommitdiff
path: root/include/connectivity/odbc.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/connectivity/odbc.hxx')
-rw-r--r--include/connectivity/odbc.hxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/connectivity/odbc.hxx b/include/connectivity/odbc.hxx
index 5ce6d8768070..a39a426975fc 100644
--- a/include/connectivity/odbc.hxx
+++ b/include/connectivity/odbc.hxx
@@ -32,6 +32,9 @@
// just to go with calling convention of windows
#if SYSTEM_ODBC_HEADERS
+#if !defined WIN32_LEAN_AND_MEAN
+# define WIN32_LEAN_AND_MEAN
+#endif
#include <windows.h>
#define SQL_API __stdcall
#include <sqlext.h>