source: buchla-68k/orig/lib/INCLUDE/PORTSTD.H@ cbe2c15

Last change on this file since cbe2c15 was 3ae31e9, checked in by Thomas Lopatic <thomas@…>, 8 years ago

Imported original source code.

  • Property mode set to 100755
File size: 1.3 KB
RevLine 
[3ae31e9]1/*
2 ============================================================================
3 portstd.h -- Some standard definitions for portability
4 Version 1 -- 1987-02-05 -- D.N. Lynx Crowe
5 ============================================================================
6*/
7
8#ifndef PORTA_H
9#define PORTA_H
10
11#define CHAR char
12#define SCHAR char
13typedef unsigned char UCHAR;
14typedef char BYTE;
15typedef unsigned char UBYTE;
16
17#define INT int
18#define SINT int
19typedef unsigned int UINT;
20typedef int WORD;
21typedef unsigned int UWORD;
22
23#define SHORT short
24#define SSHORT short
25typedef unsigned short USHORT;
26
27#define LONG long
28#define SLONG long
29typedef unsigned long ULONG;
30
31#define DOUBLE double
32
33#define BOOL int
34#define SUCC_FAIL int
35
36#ifndef VOID
37#define VOID
38#endif
39
40#define STATIC static /* Names not needed outside this src module */
41
42#define LOCAL /* Names not needed outside this software module */
43#define LCL_XTRN extern /* Names defined within this software module */
44
45#define PUBLIC /* Names needed outside this software module */
46#define EXTERN extern /* Names defined outside this software module */
47
48#define TRUE 1
49#define FALSE 0
50
51#define SUCCESS 0
52#define FAIL (-1)
53
54#endif PORTA_H
Note: See TracBrowser for help on using the repository browser.