Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvng <viktor.govako@gmail.com>2011-11-25 03:24:15 +0400
committerAlex Zolotarev <alex@maps.me>2015-09-23 01:28:51 +0300
commit13a7ef1f6b9b344915b94c10527d476398bb82aa (patch)
tree1a0f0825ee0badb7a2b218d2541c42314efe5014 /platform/pthread_video_timer.cpp
parent7a5781595c331498e47322bbea60dc70436f221c (diff)
[msvc] Fix compilation errors.
Diffstat (limited to 'platform/pthread_video_timer.cpp')
-rw-r--r--platform/pthread_video_timer.cpp10
1 files changed, 9 insertions, 1 deletions
diff --git a/platform/pthread_video_timer.cpp b/platform/pthread_video_timer.cpp
index 5f9dbdbecf..1a321d7f1a 100644
--- a/platform/pthread_video_timer.cpp
+++ b/platform/pthread_video_timer.cpp
@@ -1,10 +1,16 @@
-#include <pthread.h>
+#include "../std/target_os.hpp"
+
+#ifndef OMIM_OS_WINDOWS_NATIVE
#include "video_timer.hpp"
+
#include "../base/logging.hpp"
+
+#include <pthread.h>
#include <sys/time.h>
#include <sys/errno.h>
+
class PThreadVideoTimer : public VideoTimer
{
private:
@@ -131,3 +137,5 @@ VideoTimer * CreatePThreadVideoTimer(VideoTimer::TFrameFn frameFn)
{
return new PThreadVideoTimer(frameFn);
}
+
+#endif