From 79ac0a00db6c65fe3d815ebb1d18e2a7957d66d3 Mon Sep 17 00:00:00 2001 From: Constantin Michael Date: Thu, 24 Nov 2011 09:42:49 +0200 Subject: Rename min to minute to avoid clash with unfortunately named MSVC macro --- odb/boost/date-time/oracle/posix-time-traits.hxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'odb/boost/date-time/oracle/posix-time-traits.hxx') diff --git a/odb/boost/date-time/oracle/posix-time-traits.hxx b/odb/boost/date-time/oracle/posix-time-traits.hxx index 04e7fea..18083c4 100644 --- a/odb/boost/date-time/oracle/posix-time-traits.hxx +++ b/odb/boost/date-time/oracle/posix-time-traits.hxx @@ -42,10 +42,10 @@ namespace odb else { sb2 y; - ub1 m, d, h, min, s; + ub1 m, d, h, minute, s; ub4 ns; - i.get (y, m, d, h, min, s, ns); + i.get (y, m, d, h, minute, s, ns); unsigned long long fract_s (ns); fract_s = fract_s * time_duration::ticks_per_second () / @@ -57,7 +57,7 @@ namespace odb static_cast (d)), time_duration ( static_cast (h), - static_cast (min), + static_cast (minute), static_cast (s), static_cast (fract_s))); } -- cgit v1.1