diff options
Diffstat (limited to 'Build/source/libs/type1/types.h')
-rw-r--r-- | Build/source/libs/type1/types.h | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/Build/source/libs/type1/types.h b/Build/source/libs/type1/types.h new file mode 100644 index 00000000000..aa13d94ee61 --- /dev/null +++ b/Build/source/libs/type1/types.h @@ -0,0 +1,32 @@ +/* + * File: types.h + * Purpose: define basic types so that program is portable to non 32 bits + * platforms + * Version: 1.0 (Dec. 1993) + * Author: Piet Tutelaers + */ + +#ifndef __TYPES__ +#define __TYPES__ + +#if defined(WORD16) +typedef unsigned short USHORT; /* 16 bits */ +typedef short SHORT; /* 16 bits */ +typedef long LONG; /* 32 bits */ +typedef unsigned long ULONG; /* 32 bits */ +typedef double DOUBLE; /* 64 bits */ +#elif defined(WORD64) +typedef unsigned short USHORT; /* 16 bits */ +typedef short SHORT; /* 16 bits */ +typedef int LONG; /* 32 bits */ +typedef unsigned long ULONG; /* 32 bits */ +typedef double DOUBLE; /* 64 bits */ +#else /* default: WORD32 */ +typedef unsigned short USHORT; /* 16 bits */ +typedef short SHORT; /* 16 bits */ +typedef int LONG; /* 32 bits */ +typedef unsigned int ULONG; /* 32 bits */ +typedef double DOUBLE; /* 64 bits */ +#endif + +#endif /* __TYPES__ */ |