File: types.h

package info (click to toggle)
tetex-bin 3.0-30
  • links: PTS
  • area: main
  • in suites: etch-m68k
  • size: 54,960 kB
  • ctags: 34,640
  • sloc: ansic: 317,441; cpp: 41,854; sh: 22,369; perl: 17,643; makefile: 4,270; yacc: 2,187; awk: 1,126; lex: 932; pascal: 858; lisp: 571; sed: 423; asm: 139; csh: 47
file content (40 lines) | stat: -rw-r--r-- 1,169 bytes parent folder | download | duplicates (11)
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
/*
 * 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 __PS2PK_TYPES__
#define __PS2PK_TYPES__

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

#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 */
#  ifndef WIN32
/* These are already defined under WIN32 */
typedef int LONG;              /* 32 bits */
typedef unsigned int ULONG;    /* 32 bits */
#  endif
typedef double DOUBLE;         /* 64 bits */
#endif

#endif /* __PS2PK_TYPES__ */