From 10c557562e1d67c55314c212371ea9cb7f802863 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Wed, 19 Jan 2011 23:02:44 +0000 Subject: Started work adding more functions to stream, and changing to a new size type. --- src/extratypes.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 src/extratypes.h (limited to 'src/extratypes.h') 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 @@ +#ifndef EXTRA_TYPES_H +#define EXTRA_TYPES_H + +#include "bu/config.h" + +namespace Bu +{ +#ifdef USE_64BIT_IO + typedef int64_t size; + typedef uint64_t usize; +#else + typedef int32_t size; + typedef uint32_t usize; +#endif +}; + +#endif -- cgit v1.2.3