summaryrefslogtreecommitdiff
path: root/connectivity
diff options
context:
space:
mode:
authorTor Lillqvist <tlillqvist@novell.com>2011-08-26 23:24:04 +0300
committerTor Lillqvist <tlillqvist@novell.com>2011-08-29 10:53:56 +0300
commita647a54cd1832582d3ebbe47adf024fed9f9ec0b (patch)
treece4db812678d9e8f5dc573e5a1aa3b2a72dc9dee /connectivity
parent10f30ae4c8f007e69c9bb455d6c7ec9036132f3f (diff)
More #define _HAS_ITERATOR_DEBUGGING 0 to fix _DEBUG MSVC builds
Diffstat (limited to 'connectivity')
-rw-r--r--connectivity/source/manager/mdrivermanager.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/connectivity/source/manager/mdrivermanager.cxx b/connectivity/source/manager/mdrivermanager.cxx
index 812abd670b81..d9ea11e6e8d7 100644
--- a/connectivity/source/manager/mdrivermanager.cxx
+++ b/connectivity/source/manager/mdrivermanager.cxx
@@ -26,10 +26,12 @@
*
************************************************************************/
+#ifdef _MSC_VER
// Avoid problem due to dubious std::equal_range usage when building
// with MSVC in --enable-dbgutil mode (i.e. _DEBUG defined, using the
// debugging C/C++ runtime)
#define _HAS_ITERATOR_DEBUGGING 0
+#endif
// MARKER(update_precomp.py): autogen include statement, do not remove
#include "precompiled_connectivity.hxx"