aboutsummaryrefslogtreecommitdiff
path: root/src/extratypes.h
blob: 0dd92dbf2191be415d1aa2265693bc3dabbc77b0 (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
/*
 * 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>

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