Changeset 241 in Sophya for trunk/SophyaLib/BaseTools/machine.h


Ignore:
Timestamp:
Apr 21, 1999, 3:12:11 PM (26 years ago)
Author:
ansari
Message:

ppersist + pexc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaLib/BaseTools/machine.h

    r229 r241  
    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( 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 0
    101 #define  SWAPDEFAUT   0
    102 
    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 1
    117 #define  SWAPDEFAUT   1
    118 
    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 0
    133 #define  SWAPDEFAUT   0
    134 
    135 #else
    136 #error  Undefined Machine type in machine.h
    137 #endif
    138 
    139 #endif
    140 
Note: See TracChangeset for help on using the changeset viewer.