summaryrefslogtreecommitdiff
path: root/hrtimer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'hrtimer.cpp')
-rw-r--r--hrtimer.cpp8
1 files changed, 1 insertions, 7 deletions
diff --git a/hrtimer.cpp b/hrtimer.cpp
index 6fe9b568..71149baf 100644
--- a/hrtimer.cpp
+++ b/hrtimer.cpp
@@ -23,13 +23,7 @@ double TimerBase::ConvertTo(TimerWord t, Unit unit)
static unsigned long unitsPerSecondTable[] = {1, 1000, 1000*1000, 1000*1000*1000};
assert(unit < sizeof(unitsPerSecondTable) / sizeof(unitsPerSecondTable[0]));
-#if defined(_MSC_VER) && (_MSC_VER < 1300)
- // MSVC 6 workaround
- return (double)(__int64)t * unitsPerSecondTable[unit] / (__int64)TicksPerSecond();
-#else
- return (double)t * unitsPerSecondTable[unit] / TicksPerSecond();
-#endif
-
+ return (double)CRYPTOPP_VC6_INT64 t * unitsPerSecondTable[unit] / CRYPTOPP_VC6_INT64 TicksPerSecond();
}
void TimerBase::StartTimer()