aboutsummaryrefslogtreecommitdiffstats
path: root/types16.h
blob: a2d0302748c80d55ed52606c46e236071c4b4aff (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
41
42
43
44
#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 FARP __far

#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;

#define FARP

#endif

typedef int Bool;

#ifndef TRUE
#define TRUE 1
#endif

#ifndef FALSE
#define FALSE 0
#endif

#endif /* __TYPES16_H_INCLUDED__ */