From a3ce60eb3c8bb5c69ab41556398efa8316286477 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Tue, 27 Nov 2012 14:41:16 +0200 Subject: We only support MSVC 2008 (_MSC_VER 1500) or later We can drop or simplify many conditionals. Change-Id: I37e820e515cc09845c30b62c89ddb3b6ff370f97 --- connectivity/source/drivers/postgresql/pq_allocator.hxx | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'connectivity') diff --git a/connectivity/source/drivers/postgresql/pq_allocator.hxx b/connectivity/source/drivers/postgresql/pq_allocator.hxx index dadeb8ee4293..78d1dfa3db9a 100644 --- a/connectivity/source/drivers/postgresql/pq_allocator.hxx +++ b/connectivity/source/drivers/postgresql/pq_allocator.hxx @@ -210,22 +210,11 @@ inline bool operator!= (const Allocator&, const Allocator&) SAL_THROW(()) /* REQUIRED BY STLPort (see stlport '_alloc.h'): Hack for compilers that do not support member template classes (e.g. MSVC 6) */ -#if defined (_MSC_VER) -#if (_MSC_VER < 1400) // MSVC 6 -namespace _STL -{ -#endif -#endif template inline pq_sdbc_driver::Allocator & __stl_alloc_rebind ( pq_sdbc_driver::Allocator & a, U const *) { return (pq_sdbc_driver::Allocator&)(a); } -#if defined (_MSC_VER) -#if (_MSC_VER < 1400) // MSVC 6 -} -#endif -#endif #endif /* _PQ_ALLOCATOR_ */ -- cgit