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:
Diffstat (limited to 'std/systime.hpp')
-rw-r--r--std/systime.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/std/systime.hpp b/std/systime.hpp
index c535b83e50..e32d8c9f84 100644
--- a/std/systime.hpp
+++ b/std/systime.hpp
@@ -2,6 +2,7 @@
#include "common_defines.hpp"
#include "target_os.hpp"
+#include "ctime.hpp"
#ifdef new
#undef new
@@ -10,6 +11,9 @@
// for gettimeofday and GetSystemTimeAsFileTime
#ifdef OMIM_OS_WINDOWS
#include "windows.hpp"
+ #ifdef OMIM_OS_WINDOWS_MINGW
+ #define gettimeofday mingw_gettimeofday
+ #endif
#else
#include <sys/time.h>
#endif