diff options
author | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-09-22 16:23:16 +0000 |
---|---|---|
committer | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-09-22 16:23:16 +0000 |
commit | 97fc8cd7b60999e16f65a9a9d6c87a2f913d5a64 (patch) | |
tree | a78c709b254132bcb0e685ef8241287f323d77fc /ace | |
parent | 3afbe8d2bff4fddbb1faa46fc63e0bf941378d20 (diff) | |
download | ATCD-97fc8cd7b60999e16f65a9a9d6c87a2f913d5a64.tar.gz |
ChangeLogTag: Wed Sep 22 11:20:39 1999 David L. Levine <levine@cs.wustl.edu>
Diffstat (limited to 'ace')
-rw-r--r-- | ace/Basic_Types.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/ace/Basic_Types.h b/ace/Basic_Types.h index cc4530c8b13..81d817935df 100644 --- a/ace/Basic_Types.h +++ b/ace/Basic_Types.h @@ -210,7 +210,13 @@ typedef ACE_UINT16 ACE_USHORT16; // that unsigned versions of a type are the same size as the signed // version of the same type. #if ACE_SIZEOF_VOID_P == ACE_SIZEOF_INT - typedef u_int ptr_arith_t; +# if defined (__SUNPRO_CC) + // For unknown reasons, Sun CC 5.0 won't allow a reintepret cast + // of a 64-bit pointer to a 64-bit int. + typedef u_long ptr_arith_t; +# else /* ! __SUNPRO_CC */ + typedef u_int ptr_arith_t; +# endif /* ! __SUNPRO_CC */ #elif ACE_SIZEOF_VOID_P == ACE_SIZEOF_LONG typedef u_long ptr_arith_t; #elif ACE_SIZEOF_VOID_P == ACE_SIZEOF_LONG_LONG |