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

stdint.hpp « std - github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 7f444a3ceb9550572f7eca6fe03f7232fc331b32 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#pragma once
#include "common_defines.hpp"
#include "target_os.hpp"

#ifdef new
#undef new
#endif

#if defined(_MSC_VER) && _MSC_VER < 1600  // in VS2010 types below are defined
  typedef __int8            int8_t;
  typedef __int16           int16_t;
  typedef __int32           int32_t;
  typedef __int64           int64_t;
  typedef unsigned __int8   uint8_t;
  typedef unsigned __int16  uint16_t;
  typedef unsigned __int32  uint32_t;
  typedef unsigned __int64  uint64_t;

#elif defined(OMIM_OS_BADA) || defined(OMIM_OS_ANDROID)
  #include <stdint.h>

#else
  #include <boost/cstdint.hpp>

#endif

#ifdef DEBUG_NEW
#define new DEBUG_NEW
#endif