diff options
author | vng <viktor.govako@gmail.com> | 2011-11-25 03:24:15 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 01:28:51 +0300 |
commit | 13a7ef1f6b9b344915b94c10527d476398bb82aa (patch) | |
tree | 1a0f0825ee0badb7a2b218d2541c42314efe5014 /platform/platform_tests | |
parent | 7a5781595c331498e47322bbea60dc70436f221c (diff) |
[msvc] Fix compilation errors.
Diffstat (limited to 'platform/platform_tests')
-rw-r--r-- | platform/platform_tests/video_timer_test.cpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/platform/platform_tests/video_timer_test.cpp b/platform/platform_tests/video_timer_test.cpp index b00f20464d..dda1406b65 100644 --- a/platform/platform_tests/video_timer_test.cpp +++ b/platform/platform_tests/video_timer_test.cpp @@ -7,17 +7,19 @@ #include "../../std/bind.hpp" + void incrementValue(int & i) { ++i; } +#ifdef OMIM_OS_MAC + UNIT_TEST(TimerTest) { int i = 0; -#ifdef OMIM_OS_MAC + VideoTimer * videoTimer = CreatePThreadVideoTimer(bind(&incrementValue, ref(i))); -#endif LOG(LINFO, ("checking for approximately 60 cycles in second")); @@ -42,5 +44,4 @@ UNIT_TEST(TimerTest) videoTimer->stop(); } - - +#endif |