aboutsummaryrefslogtreecommitdiff
path: root/src/inc/def.h
blob: 22e1bdab7595166ad4886259de2602b6411b6d51 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef DEF_H
#define DEF_H

typedef unsigned int u32;
typedef unsigned short u16;
typedef unsigned char u8;

typedef signed int s32;
typedef signed short s16;
typedef signed char s8;

#define UNUSED(bla) ((void)(bla))
#define MIN(a, b) (((a) < (b)) ? (a) : (b))
#define MAX(a, b) (((a) > (b)) ? (a) : (b))

#endif