aboutsummaryrefslogtreecommitdiff
path: root/odb
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
commit4b4cea7da1fbfd0ea90124932450fbde53a84c2e (patch)
treed289d07de52efb251d7d053545f1d4106a55fedc /odb
parentb84408a833511bb03b8dbe031ec06d6d09ca5bc5 (diff)
Factor windows.h inclusion into separate header, disable min/max macros
Diffstat (limited to 'odb')
-rw-r--r--odb/sqlite/database.cxx5
1 files changed, 1 insertions, 4 deletions
diff --git a/odb/sqlite/database.cxx b/odb/sqlite/database.cxx
index 5b47735..e8e5c77 100644
--- a/odb/sqlite/database.cxx
+++ b/odb/sqlite/database.cxx
@@ -3,10 +3,7 @@
// license : GNU GPL v2; see accompanying LICENSE file
#ifdef _WIN32
-# ifndef WIN32_LEAN_AND_MEAN
-# define WIN32_LEAN_AND_MEAN
-# endif
-# include <windows.h> // WideCharToMultiByte
+# include <odb/details/win32/windows.hxx> // WideCharToMultiByte
#endif
#include <sstream>