summaryrefslogtreecommitdiff
path: root/Build/source/texk/ps2pk/types.h
blob: aec3e3fedb85b1bf1c8509294da2aa60021a3005 (plain)
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
/*
 * File:    types.h
 * Purpose: define basic types so that program is portable to non 32 bits
 *          platforms
 * Version: 1.7 (December 2014)
 * Author:  Piet Tutelaers
 */

#ifndef __PS2PK_TYPES__
#define __PS2PK_TYPES__

#ifdef HAVE_CONFIG_H
#include "c-auto.h"
#endif

#ifdef HAVE_STDINT_H
#include <stdint.h>
#endif
#ifdef HAVE_INTTYPES_H
#include <inttypes.h>
#endif

#ifdef KPATHSEA
#include <kpathsea/kpathsea.h>
#endif /* KPATHSEA */

typedef unsigned short USHORT; /* 16 bits */
typedef short SHORT;           /* 16 bits */
typedef double DOUBLE;         /* 64 bits */

typedef char *encoding[256];
extern void getenc(char **, char **, encoding, int [256]);

#endif /* __PS2PK_TYPES__ */