-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtypes.h
More file actions
36 lines (32 loc) · 710 Bytes
/
types.h
File metadata and controls
36 lines (32 loc) · 710 Bytes
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
/*
* $Id: types.h,v 1.2 1996/08/11 17:36:22 grubba Exp $
*
* Common types used by the LMTAE project
*
* $Log: types.h,v $
* Revision 1.1 1996/07/17 16:02:07 grubba
* Changed from {U,}{LONG,WORD,BYTE} to [SU]{8,16,32}.
* Hopefully all places got patched.
*
*
*/
#ifndef TYPES_H
#define TYPES_H
typedef signed char S8;
typedef unsigned char U8;
typedef signed short S16;
typedef unsigned short U16;
typedef signed S32;
typedef unsigned U32;
/* It should be possible to use __extension__ here */
typedef signed long long S64;
typedef unsigned long long U64;
#define s8 S8
#define u8 U8
#define s16 S16
#define u16 U16
#define s32 S32
#define u32 U32
#define s64 S64
#define u64 U64
#endif