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/stdint.hpp')
-rw-r--r--std/stdint.hpp29
1 files changed, 29 insertions, 0 deletions
diff --git a/std/stdint.hpp b/std/stdint.hpp
new file mode 100644
index 0000000000..769c0870fe
--- /dev/null
+++ b/std/stdint.hpp
@@ -0,0 +1,29 @@
+#pragma once
+#include "common_defines.hpp"
+#include "target_os.hpp"
+
+#ifdef new
+#undef new
+#endif
+
+#ifdef _MSC_VER
+ 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)
+ #include <stdint.h>
+
+#else
+ #include <boost/cstdint.hpp>
+
+#endif
+
+#ifdef DEBUG_NEW
+#define new DEBUG_NEW
+#endif