diff options
Diffstat (limited to 'defines.h')
-rw-r--r-- | defines.h | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -1,7 +1,7 @@ | |||
1 | #ifndef _DEFINES_H | 1 | #ifndef _DEFINES_H |
2 | #define _DEFINES_H | 2 | #define _DEFINES_H |
3 | 3 | ||
4 | /* $Id: defines.h,v 1.93 2002/07/18 16:31:52 tim Exp $ */ | 4 | /* $Id: defines.h,v 1.94 2002/07/22 23:34:25 mouring Exp $ */ |
5 | 5 | ||
6 | 6 | ||
7 | /* Constants */ | 7 | /* Constants */ |
@@ -124,7 +124,7 @@ typedef char int8_t; | |||
124 | # if (SIZEOF_SHORT_INT == 2) | 124 | # if (SIZEOF_SHORT_INT == 2) |
125 | typedef short int int16_t; | 125 | typedef short int int16_t; |
126 | # else | 126 | # else |
127 | # ifdef _CRAY | 127 | # if defined(_CRAY) && !defined(_CRAYSV2) |
128 | # if (SIZEOF_SHORT_INT == 4) | 128 | # if (SIZEOF_SHORT_INT == 4) |
129 | typedef short int16_t; | 129 | typedef short int16_t; |
130 | # else | 130 | # else |
@@ -137,7 +137,7 @@ typedef long int16_t; | |||
137 | # if (SIZEOF_INT == 4) | 137 | # if (SIZEOF_INT == 4) |
138 | typedef int int32_t; | 138 | typedef int int32_t; |
139 | # else | 139 | # else |
140 | # ifdef _CRAY | 140 | # if defined(_CRAY) && !defined(_CRAYSV2) |
141 | typedef long int32_t; | 141 | typedef long int32_t; |
142 | # else | 142 | # else |
143 | # error "32 bit int type not found." | 143 | # error "32 bit int type not found." |
@@ -161,7 +161,7 @@ typedef unsigned char u_int8_t; | |||
161 | # if (SIZEOF_SHORT_INT == 2) | 161 | # if (SIZEOF_SHORT_INT == 2) |
162 | typedef unsigned short int u_int16_t; | 162 | typedef unsigned short int u_int16_t; |
163 | # else | 163 | # else |
164 | # ifdef _CRAY | 164 | # if defined(_CRAY) && !defined(_CRAYSV2) |
165 | # if (SIZEOF_SHORT_INT == 4) | 165 | # if (SIZEOF_SHORT_INT == 4) |
166 | typedef unsigned short u_int16_t; | 166 | typedef unsigned short u_int16_t; |
167 | # else | 167 | # else |
@@ -174,7 +174,7 @@ typedef unsigned long u_int16_t; | |||
174 | # if (SIZEOF_INT == 4) | 174 | # if (SIZEOF_INT == 4) |
175 | typedef unsigned int u_int32_t; | 175 | typedef unsigned int u_int32_t; |
176 | # else | 176 | # else |
177 | # ifdef _CRAY | 177 | # if defined(_CRAY) && !defined(_CRAYSV2) |
178 | typedef unsigned long u_int32_t; | 178 | typedef unsigned long u_int32_t; |
179 | # else | 179 | # else |
180 | # error "32 bit int type not found." | 180 | # error "32 bit int type not found." |