Changeset 241 in Sophya for trunk/SophyaLib/BaseTools/machine.h
- Timestamp:
- Apr 21, 1999, 3:12:11 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaLib/BaseTools/machine.h
r229 r241 1 #ifndef MACHINE_H_SEEN2 #define MACHINE_H_SEEN3 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 120 #define SWAPDEFAUT 121 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 136 #define SWAPDEFAUT 137 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 052 #define SWAPDEFAUT 053 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 069 #define SWAPDEFAUT 070 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 085 #define SWAPDEFAUT 086 87 #elif defined( IRIX64 )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 0101 #define SWAPDEFAUT 0102 103 #elif defined(Linux) || defined(linux)104 105 typedef signed char int_1;106 typedef unsigned char uint_1;107 typedef int int_4;108 typedef unsigned int 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 1117 #define SWAPDEFAUT 1118 119 #elif defined(__mac__)120 121 typedef signed char int_1;122 typedef unsigned char uint_1;123 typedef long int_4;124 typedef unsigned long uint_4;125 typedef short int_2;126 typedef unsigned short uint_2;127 typedef float r_4;128 typedef double r_8;129 typedef long long int_8;130 typedef unsigned long long uint_8;131 132 #define SWAP 0133 #define SWAPDEFAUT 0134 135 #else136 #error Undefined Machine type in machine.h137 #endif138 139 #endif140
Note:
See TracChangeset
for help on using the changeset viewer.