diff options
author | Thorbjørn Lindeijer <thorbjorn@lindeijer.nl> | 2012-05-05 22:30:25 +0200 |
---|---|---|
committer | Thorbjørn Lindeijer <thorbjorn@lindeijer.nl> | 2012-05-05 22:30:25 +0200 |
commit | 6decbb6227bdb72327273e9e607f58f6bff5fd5c (patch) | |
tree | de8da137ad5a88eb3f6c81575313946bc2ab394c /src/cpp0x_compat/cstdint | |
parent | df9ed1ab4364fe29bf260cae51827cc2722eff78 (diff) | |
parent | 86154175f63a7f1a4b73b3727314ac760d83834e (diff) | |
download | mana-client-6decbb6227bdb72327273e9e607f58f6bff5fd5c.tar.gz mana-client-6decbb6227bdb72327273e9e607f58f6bff5fd5c.tar.bz2 mana-client-6decbb6227bdb72327273e9e607f58f6bff5fd5c.tar.xz mana-client-6decbb6227bdb72327273e9e607f58f6bff5fd5c.zip |
Merge branch '0.6'
Diffstat (limited to 'src/cpp0x_compat/cstdint')
-rw-r--r-- | src/cpp0x_compat/cstdint | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/cpp0x_compat/cstdint b/src/cpp0x_compat/cstdint index d8d71d9d..05d56c6e 100644 --- a/src/cpp0x_compat/cstdint +++ b/src/cpp0x_compat/cstdint @@ -1,7 +1,10 @@ /* * Compatibility header used when the compiler doesn't support C++0x. * - * It doesn't seem necessary for it to contain anything, at least GCC 4.2.1 - * compiles Mana fine so it apparently understands types like uint16_t by - * default. + * 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; |