Mercurial > hg > svcore
comparison base/test/TestVampRealTime.h @ 1353:2001fe23e449 3.0-integration
Fixes and updates for 32-bit Windows build
| author | Chris Cannam | 
|---|---|
| date | Mon, 09 Jan 2017 11:53:06 +0000 | 
| parents | 980afe3f1a76 | 
| children | 1a7687631136 | 
   comparison
  equal
  deleted
  inserted
  replaced
| 1352:f98fde50570b | 1353:2001fe23e449 | 
|---|---|
| 129 QCOMPARE(RealTime::fromMilliseconds(-500), RealTime(0, -ONE_BILLION/2)); | 129 QCOMPARE(RealTime::fromMilliseconds(-500), RealTime(0, -ONE_BILLION/2)); | 
| 130 QCOMPARE(RealTime::fromMilliseconds(-1000), RealTime(-1, 0)); | 130 QCOMPARE(RealTime::fromMilliseconds(-1000), RealTime(-1, 0)); | 
| 131 QCOMPARE(RealTime::fromMilliseconds(-1500), RealTime(-1, -ONE_BILLION/2)); | 131 QCOMPARE(RealTime::fromMilliseconds(-1500), RealTime(-1, -ONE_BILLION/2)); | 
| 132 } | 132 } | 
| 133 | 133 | 
| 134 #ifndef _WIN32 | 134 #ifndef Q_OS_WIN | 
| 135 void fromTimeval() | 135 void fromTimeval() | 
| 136 { | 136 { | 
| 137 struct timeval tv; | 137 struct timeval tv; | 
| 138 | 138 | 
| 139 tv.tv_sec = 0; tv.tv_usec = 0; | 139 tv.tv_sec = 0; tv.tv_usec = 0; | 
