diff options
Diffstat (limited to 'platform/pthread_video_timer.cpp')
-rw-r--r-- | platform/pthread_video_timer.cpp | 10 |
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 |