| 1 |
/* File: types.h |
| 2 |
* Purpose: define basic types so that program is portable to non 32 bits |
| 3 |
* platforms |
| 4 |
* Author: Piet Tutelaers |
| 5 |
* (see README for license) |
| 6 |
*/ |
| 7 |
|
| 8 |
#ifndef __PS2PK_TYPES__ |
| 9 |
#define __PS2PK_TYPES__ |
| 10 |
|
| 11 |
#ifdef HAVE_CONFIG_H |
| 12 |
#include "c-auto.h" |
| 13 |
#endif |
| 14 |
|
| 15 |
#ifdef HAVE_STDINT_H |
| 16 |
#include <stdint.h> |
| 17 |
#endif |
| 18 |
#ifdef HAVE_INTTYPES_H |
| 19 |
#include <inttypes.h> |
| 20 |
#endif |
| 21 |
|
| 22 |
#ifdef KPATHSEA |
| 23 |
#include <kpathsea/kpathsea.h> |
| 24 |
#endif /* KPATHSEA */ |
| 25 |
|
| 26 |
typedef unsigned short USHORT; /* 16 bits */ |
| 27 |
typedef short SHORT; /* 16 bits */ |
| 28 |
typedef double DOUBLE; /* 64 bits */ |
| 29 |
|
| 30 |
typedef char *encoding[256]; |
| 31 |
extern void getenc(char **, char **, encoding, int [256]); |
| 32 |
|
| 33 |
#endif /* __PS2PK_TYPES__ */ |