summaryrefslogtreecommitdiff
path: root/src/cpp0x_compat/cstdint
blob: 05d56c6effc43047bfc4e2114751bac2e0285ef0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
/*
 * Compatibility header used when the compiler doesn't support C++0x.
 *
 * While GCC 4.2.1 understands types like uint16_t by default, later versions
 * are more strict so here are some typedefs for types used in our code.
 */

typedef unsigned char  uint8_t;
typedef unsigned short uint16_t;
typedef unsigned int   uint32_t;