mirror of
https://git.openafs.org/openafs.git
synced 2025-01-18 23:10:58 +00:00
des-fix-linux-64bit-problems-more-usefully-20020607
with a minor fix from shadow@dementia.org long isn't 32bit on ia64 or alpha
This commit is contained in:
parent
9ab8961c31
commit
ddfc17dfd1
@ -88,7 +88,7 @@ RCSID("$Header$");
|
||||
* define "LONG_IS_32_BITS" only if sizeof(long)==4.
|
||||
* This avoids use of bit fields (your compiler may be sloppy with them).
|
||||
*/
|
||||
#if !defined(cray)
|
||||
#if !defined(cray) && !defined(AFS_ALPHA_LINUX20_ENV) && !defined(AFS_IA64_LINUX20_ENV)
|
||||
#define LONG_IS_32_BITS
|
||||
#endif
|
||||
|
||||
@ -249,13 +249,8 @@ typedef union {
|
||||
struct {
|
||||
#if defined(LONG_IS_32_BITS)
|
||||
/* long is often faster than a 32-bit bit field */
|
||||
#if defined(AFS_IA64_LINUX20_ENV)
|
||||
int i0;
|
||||
int i1;
|
||||
#else
|
||||
long i0;
|
||||
long i1;
|
||||
#endif
|
||||
#else
|
||||
long i0: 32;
|
||||
long i1: 32;
|
||||
|
Loading…
Reference in New Issue
Block a user