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: bc6f52e09f0d80a7be771c5535a21c8ffcd53cde (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#pragma once

#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