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

systime.hpp « std - github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: e32d8c9f84ad70973285c63f6f27de5cdde5206f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#pragma once

#include "common_defines.hpp"
#include "target_os.hpp"
#include "ctime.hpp"

#ifdef new
#undef new
#endif

// 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

#ifdef DEBUG_NEW
#define new DEBUG_NEW
#endif