Ticket #3180: MTA_integer.patch
File MTA_integer.patch, 1.5 KB (added by , 13 years ago) |
---|
-
cstdint.hpp
226 226 typedef short int_fast16_t; 227 227 typedef unsigned short uint_least16_t; 228 228 typedef unsigned short uint_fast16_t; 229 # elif (USHRT_MAX == 0xffffffff) && defined(__MTA__) 230 // On MTA / XMT short is 32 bits unless the -short16 compiler flag is specified 231 // MTA / XMT does support the following non-standard integer types 232 typedef __short16 int16_t; 233 typedef __short16 int_least16_t; 234 typedef __short16 int_fast16_t; 235 typedef unsigned __short16 uint16_t; 236 typedef unsigned __short16 uint_least16_t; 237 typedef unsigned __short16 uint_fast16_t; 229 238 # else 230 239 # error defaults not correct; you must hand modify boost/cstdint.hpp 231 240 # endif … … 246 255 typedef unsigned int uint32_t; 247 256 typedef unsigned int uint_least32_t; 248 257 typedef unsigned int uint_fast32_t; 258 # elif (UINT_MAX == 0xffffffffffffffff) && defined(__MTA__) 259 // Integers are 64 bits on the MTA / XMT 260 typedef __int32 int32_t; 261 typedef __int32 int_least32_t; 262 typedef __int32 int_fast32_t; 263 typedef unsigned __int32 uint32_t; 264 typedef unsigned __int32 uint_least32_t; 265 typedef unsigned __int32 uint_fast32_t; 249 266 # else 250 267 # error defaults not correct; you must hand modify boost/cstdint.hpp 251 268 # endif