blob: 26400b524f4348d30050915ec0010aa3c6283eec (
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
|
/*
* rctypes.h
*
* Misc types and macro's.
*
* Copyright 1999-2008 Gentoo Foundation
* Copyright 2004-2007 Martin Schlemmer <azarah@nosferatu.za.org>
* Licensed under the GPL-2
*/
#ifndef __RCTYPES_H__
#define __RCTYPES_H__
/* Min/Max macro's */
#ifdef MAX
# undef MAX
#endif
#define MAX(_a, _b) (((_a) > (_b)) ? (_a) : (_b))
#ifdef MIN
# undef MIN
#endif
#define MIN(_a, _b) ((_a) > (_b) ? (_b) : (_a))
typedef enum {
FALSE,
TRUE
} bool;
#endif /* __RCTYPES_H__ */
|