source: Sophya/trunk/SophyaLib/BaseTools/machine.h@ 219

Last change on this file since 219 was 219, checked in by ansari, 26 years ago

Creation module DPC/SysTools Reza 09/04/99

File size: 2.5 KB
Line 
1#ifndef MACHINE_H_SEEN
2#define MACHINE_H_SEEN
3
4#include "defs.h"
5
6#if defined(DECULTRIX) || defined(ULTRIX)
7
8 typedef signed char int_1;
9 typedef unsigned char uint_1;
10 typedef long int_4;
11 typedef unsigned long uint_4;
12 typedef short int_2;
13 typedef unsigned short uint_2;
14 typedef float r_4;
15 typedef double r_8;
16 typedef long long int_8;
17 typedef unsigned long long uint_8;
18
19#define SWAP 1
20#define SWAPDEFAUT 1
21
22#elif defined(DECALPHA) || defined(OSF1)
23
24 typedef signed char int_1;
25 typedef unsigned char uint_1;
26 typedef int int_4;
27 typedef unsigned int uint_4;
28 typedef short int_2;
29 typedef unsigned short uint_2;
30 typedef float r_4;
31 typedef double r_8;
32 typedef long long int_8;
33 typedef unsigned long long uint_8;
34
35#define SWAP 1
36#define SWAPDEFAUT 1
37
38#elif defined(HPUX)
39
40 typedef signed char int_1;
41 typedef unsigned char uint_1;
42 typedef int int_4 ;
43 typedef unsigned int uint_4;
44 typedef short int_2;
45 typedef unsigned short uint_2;
46 typedef float r_4;
47 typedef double r_8;
48 typedef long long int_8;
49 typedef unsigned long long uint_8;
50
51#define SWAP 0
52#define SWAPDEFAUT 0
53
54
55#elif defined( AIX )
56
57 typedef signed char int_1;
58 typedef unsigned char uint_1;
59 typedef int int_4;
60 typedef unsigned int uint_4;
61 typedef short int_2;
62 typedef unsigned short uint_2;
63 typedef float r_4;
64 typedef double r_8;
65 typedef long long int_8;
66 typedef unsigned long long uint_8;
67
68#define SWAP 0
69#define SWAPDEFAUT 0
70
71#elif defined( sun )
72
73 typedef signed char int_1;
74 typedef unsigned char uint_1;
75 typedef int int_4;
76 typedef unsigned int uint_4;
77 typedef short int_2;
78 typedef unsigned short uint_2;
79 typedef float r_4;
80 typedef double r_8;
81 typedef long long int_8;
82 typedef unsigned long long uint_8;
83
84#define SWAP 0
85#define SWAPDEFAUT 0
86
87#elif defined(Linux) || defined(linux)
88
89 typedef signed char int_1;
90 typedef unsigned char uint_1;
91 typedef int int_4;
92 typedef unsigned int uint_4;
93 typedef short int_2;
94 typedef unsigned short uint_2;
95 typedef float r_4;
96 typedef double r_8;
97 typedef long long int_8;
98 typedef unsigned long long uint_8;
99
100#define SWAP 1
101#define SWAPDEFAUT 1
102
103#elif defined(__mac__)
104
105 typedef signed char int_1;
106 typedef unsigned char uint_1;
107 typedef long int_4;
108 typedef unsigned long uint_4;
109 typedef short int_2;
110 typedef unsigned short uint_2;
111 typedef float r_4;
112 typedef double r_8;
113 typedef long long int_8;
114 typedef unsigned long long uint_8;
115
116#define SWAP 0
117#define SWAPDEFAUT 0
118
119#else
120#error Undefined Machine type in machine.h
121#endif
122
123#endif
124
Note: See TracBrowser for help on using the repository browser.