diff options
author | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-12-18 17:12:18 +0000 |
---|---|---|
committer | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-12-18 17:12:18 +0000 |
commit | fac73bea860b51e5ca378f899aec02154220c94c (patch) | |
tree | 49c76d0f3e34939e91562d7e186ecd81a233fb37 /ace | |
parent | 77fd057536c2d2a8add8b62fa8accc77f5bb2c16 (diff) | |
download | ATCD-fac73bea860b51e5ca378f899aec02154220c94c.tar.gz |
look for ULONGLONG_MAX, which Irix 6.x uses
Diffstat (limited to 'ace')
-rw-r--r-- | ace/Basic_Types.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/ace/Basic_Types.h b/ace/Basic_Types.h index 9ea2676cdba..c289e4f00e2 100644 --- a/ace/Basic_Types.h +++ b/ace/Basic_Types.h @@ -131,7 +131,17 @@ # else # error: unsupported long long size, must be updated for this platform! # endif /* ULLONG_MAX */ -#else /* ! ACE_WIN32 && ! ULLONG_MAX && ! __GNUG__ */ +#elif defined (ULONGLONG_MAX) + // Irix 6.x, for example. +# if (ULONGLONG_MAX) == 18446744073709551615ULL +# define ACE_SIZEOF_LONG_LONG 8 +# if ACE_SIZEOF_INT != 8 && ACE_SIZEOF_LONG != 8 + typedef unsigned long long ACE_UINT64; +# endif /* ACE_SIZEOF_INT != 8 && ACE_SIZEOF_LONG != 8 */ +# else +# error: unsupported long long size, must be updated for this platform! +# endif /* ULLONG_MAX */ +#else /* ! ACE_WIN32 && ! ULLONG_MAX && ! __GNUG__ && ! ULONGLONG_MAX */ # if defined (ACE_HAS_LONGLONG_T) // Assume 8-byte longs. It would be better to #define // ACE_HAS_LONGLONG_T to the number of bytes in a long, |