diff options
author | Alex Zolotarev <deathbaba@gmail.com> | 2010-12-05 19:24:16 +0300 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-22 22:33:57 +0300 |
commit | d6e12b7ce4bcbf0ccd1c07eb25de143422913c34 (patch) | |
tree | a7e910c330ce4da9b4f2d8be76067adece2561c4 /std/stdint.hpp |
One Month In Minsk. Made in Belarus.
Diffstat (limited to 'std/stdint.hpp')
-rw-r--r-- | std/stdint.hpp | 29 |
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 |