aboutsummaryrefslogtreecommitdiff
path: root/src/extratypes.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/extratypes.h')
-rw-r--r--src/extratypes.h17
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
6namespace 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