diff options
author | Mike Buland <eichlan@xagasoft.com> | 2011-01-19 23:02:44 +0000 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2011-01-19 23:02:44 +0000 |
commit | 10c557562e1d67c55314c212371ea9cb7f802863 (patch) | |
tree | 5834f4060874de33df5d0f9ebe115059d2541189 /src/extratypes.h | |
parent | dfb29c814b9c3327df3ab90e333b43504768e6d6 (diff) | |
download | libbu++-10c557562e1d67c55314c212371ea9cb7f802863.tar.gz libbu++-10c557562e1d67c55314c212371ea9cb7f802863.tar.bz2 libbu++-10c557562e1d67c55314c212371ea9cb7f802863.tar.xz libbu++-10c557562e1d67c55314c212371ea9cb7f802863.zip |
Started work adding more functions to stream, and changing to a new size type.
Diffstat (limited to 'src/extratypes.h')
-rw-r--r-- | src/extratypes.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/extratypes.h b/src/extratypes.h new file mode 100644 index 0000000..bc32dcd --- /dev/null +++ b/src/extratypes.h | |||
@@ -0,0 +1,17 @@ | |||
1 | #ifndef EXTRA_TYPES_H | ||
2 | #define EXTRA_TYPES_H | ||
3 | |||
4 | #include "bu/config.h" | ||
5 | |||
6 | namespace Bu | ||
7 | { | ||
8 | #ifdef USE_64BIT_IO | ||
9 | typedef int64_t size; | ||
10 | typedef uint64_t usize; | ||
11 | #else | ||
12 | typedef int32_t size; | ||
13 | typedef uint32_t usize; | ||
14 | #endif | ||
15 | }; | ||
16 | |||
17 | #endif | ||