aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2013-02-12 16:55:50 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2013-02-12 16:55:50 +0200
commitc2082e5566915912849381cfefddc8ebc19eb11a (patch)
tree2be659c095abe1c00e3bfc76029528e17225e7e3
parent76d20ed3dcad0a11482b9ba73644dc79e69a3c5b (diff)
Factor windows.h inclusion into separate header, disable min/max macros
-rw-r--r--odb/mssql/mssql.hxx5
1 files changed, 1 insertions, 4 deletions
diff --git a/odb/mssql/mssql.hxx b/odb/mssql/mssql.hxx
index 78459d8..550a0f3 100644
--- a/odb/mssql/mssql.hxx
+++ b/odb/mssql/mssql.hxx
@@ -14,10 +14,7 @@
#endif
#ifdef _WIN32
-# ifndef WIN32_LEAN_AND_MEAN
-# define WIN32_LEAN_AND_MEAN
-# endif
-# include <windows.h>
+# include <odb/details/win32/windows.hxx>
#endif
#include <sqlext.h> // Standard ODBC.