aboutsummaryrefslogtreecommitdiffstats
path: root/types16.h
blob: 62a4092b077165bc337d1a7b5c3e3f1d90a4a5f2 (plain) (blame)
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
31
32
33
34
35
36
37
38
39
40
#ifndef __TYPES16_H_INCLUDED__
#define __TYPES16_H_INCLUDED__

#ifndef VXD32
/* 16bit */
typedef long int32;
typedef unsigned long uint32;

typedef int int16;
typedef unsigned int uint16;

typedef signed char int8;
typedef unsigned char uint8;

#define fastcall

#else
/* 32bit */
typedef long int32;
typedef unsigned long uint32;

typedef short int16;
typedef unsigned short uint16;

typedef signed char int8;
typedef unsigned char uint8;

#endif

typedef int Bool;

#ifndef TRUE
#define TRUE 1
#endif

#ifndef FALSE
#define FALSE 0
#endif

#endif /* __TYPES16_H_INCLUDED__ */