forked from ckormanyos/real-time-cpp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcstdint
48 lines (40 loc) · 1.54 KB
/
cstdint
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
///////////////////////////////////////////////////////////////////////////////
// Copyright Christopher Kormanyos 2007 - 2021.
// Distributed under the Boost Software License,
// Version 1.0. (See accompanying file LICENSE_1_0.txt
// or copy at http://www.boost.org/LICENSE_1_0.txt)
//
#ifndef _CSTDINT_2010_02_23_H_
#define _CSTDINT_2010_02_23_H_
#include <stdint.h>
// Implement some of <cstdint> for compilers that do not yet support it.
namespace std
{
typedef ::int8_t int8_t;
typedef ::int16_t int16_t;
typedef ::int32_t int32_t;
typedef ::int32_t int32_t;
typedef ::uint8_t uint8_t;
typedef ::uint16_t uint16_t;
typedef ::uint32_t uint32_t;
typedef ::uint64_t uint64_t;
typedef ::int_least8_t int_least8_t;
typedef ::int_least16_t int_least16_t;
typedef ::int_least32_t int_least32_t;
typedef ::int_least32_t int_least32_t;
typedef ::uint_least8_t uint_least8_t;
typedef ::uint_least16_t uint_least16_t;
typedef ::uint_least32_t uint_least32_t;
typedef ::uint_least64_t uint_least64_t;
typedef ::int_fast8_t int_fast8_t;
typedef ::int_fast16_t int_fast16_t;
typedef ::int_fast32_t int_fast32_t;
typedef ::int_fast32_t int_fast32_t;
typedef ::uint_fast8_t uint_fast8_t;
typedef ::uint_fast16_t uint_fast16_t;
typedef ::uint_fast32_t uint_fast32_t;
typedef ::uint_fast64_t uint_fast64_t;
typedef ::intmax_t intmax_t;
typedef ::uintmax_t uintmax_t;
}
#endif // _CSTDINT_2010_02_23_H_