blob: 656cd6d01c17c457dd21b392aa360e91d8971f51 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
/*
* Copyright (C) 2007-2011 Xagasoft, All rights reserved.
*
* This file is part of the libbu++ library and is released under the
* terms of the license contained in the file LICENSE.
*/
#ifndef EXTRA_TYPES_H
#define EXTRA_TYPES_H
#include "bu/config.h"
#include <stdint.h>
#ifndef NULL
#define NULL 0
#endif
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
|