forked from organicmaps/organicmaps
Added std/time.hpp for os-dependent time function calls
This commit is contained in:
parent
e130439f75
commit
1fcc68da97
1 changed files with 19 additions and 0 deletions
19
std/time.hpp
Normal file
19
std/time.hpp
Normal file
|
@ -0,0 +1,19 @@
|
|||
#pragma once
|
||||
|
||||
#include "common_defines.hpp"
|
||||
#include "target_os.hpp"
|
||||
|
||||
#ifdef new
|
||||
#undef new
|
||||
#endif
|
||||
|
||||
// for gettimeofday and GetSystemTimeAsFileTime
|
||||
#ifdef OMIM_OS_WINDOWS
|
||||
#include "windows.hpp"
|
||||
#else
|
||||
#include <sys/time.h>
|
||||
#endif
|
||||
|
||||
#ifdef DEBUG_NEW
|
||||
#define new DEBUG_NEW
|
||||
#endif
|
Loading…
Add table
Reference in a new issue