Changeset 58624 in vbox
- Timestamp:
- Nov 10, 2015 1:13:46 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/iprt/stdint.h
r56291 r58624 112 112 # endif 113 113 # if !defined(_INT32_T_DECLARED) && !defined(_INT32_T) 114 # if ARCH_BITS != 16 114 115 typedef signed int int32_t; 116 # else 117 typedef signed long int32_t; 118 # endif 115 119 # endif 116 120 # if !defined(_UINT32_T_DECLARED) && !defined(_UINT32_T) 121 # if ARCH_BITS != 16 117 122 typedef unsigned int uint32_t; 123 # else 124 typedef unsigned long uint32_t; 125 # endif 118 126 # endif 119 127 # if defined(_MSC_VER) … … 123 131 # if !defined(_UINT64_T_DECLARED) && !defined(_UINT64_T) 124 132 typedef unsigned _int64 uint64_t; 133 # endif 134 # elif defined(__WATCOMC__) 135 # if !defined(_INT64_T_DECLARED) && !defined(_INT64_T) 136 typedef signed __int64 int64_t; 137 # endif 138 # if !defined(_UINT64_T_DECLARED) && !defined(_UINT64_T) 139 typedef unsigned __int64 uint64_t; 125 140 # endif 126 141 # elif defined(IPRT_STDINT_USE_STRUCT_FOR_64_BIT_TYPES) … … 195 210 # define INT8_C(Value) (Value) 196 211 # define INT16_C(Value) (Value) 197 # define INT32_C(Value) (Value)198 # define INT64_C(Value) (Value ## LL)199 212 # define UINT8_C(Value) (Value) 200 213 # define UINT16_C(Value) (Value) 201 # define UINT32_C(Value) (Value ## U) 202 # define UINT64_C(Value) (Value ## ULL) 214 # if ARCH_BITS != 16 215 # define INT32_C(Value) (Value) 216 # define UINT32_C(Value) (Value ## U) 217 # define INT64_C(Value) (Value ## LL) 218 # define UINT64_C(Value) (Value ## ULL) 219 # else 220 # define INT32_C(Value) (Value ## L) 221 # define UINT32_C(Value) (Value ## UL) 222 # define INT64_C(Value) (Value ## LL) 223 # define UINT64_C(Value) (Value ## ULL) 224 # endif 203 225 # define INTMAX_C(Value) INT64_C(Value) 204 226 # define UINTMAX_C(Value) UINT64_C(Value)
Note:
See TracChangeset
for help on using the changeset viewer.