From d9e136bcd6716fdb3d70003745cfde5afd646ab4 Mon Sep 17 00:00:00 2001 From: schmidt Date: Tue, 6 Feb 2001 00:38:02 +0000 Subject: ChangeLogTag:Mon Feb 5 16:19:20 2001 Douglas C. Schmidt --- ChangeLog | 15 ++++++++++----- ChangeLogs/ChangeLog-02a | 15 ++++++++++----- ChangeLogs/ChangeLog-03a | 15 ++++++++++----- ace/Basic_Types.h | 12 ++++++------ 4 files changed, 36 insertions(+), 21 deletions(-) diff --git a/ChangeLog b/ChangeLog index 0347cd25bd7..418e1137405 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,12 +1,17 @@ +Mon Feb 5 16:19:20 2001 Douglas C. Schmidt + + * ace/Basic_Types.h: Changed the ACE_BIG_ENDIAN and ACE_LITTLE_ENDIAN + macros to use the form 0x0123 rather than 0123X. Thanks to + Craig Rodrigues for helping find this + problem. Mon Feb 5 18:20:11 2001 Krishnakumar B * ace/config-sunos5.5.h (ACE_USES_OLD_IOSTREAMS): - Reverted the change to config-sunos5.5.h and turned on - ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION, - ACE_TEMPLLATES_REQUIRE_SOURCE and ACE_USES_OLD_IOSTREAMS for the - SunCC 5.0 compiler. - + Reverted the change to config-sunos5.5.h and turned on + ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION, + ACE_TEMPLLATES_REQUIRE_SOURCE and ACE_USES_OLD_IOSTREAMS for the + SunCC 5.0 compiler. Mon Feb 5 16:19:20 2001 Douglas C. Schmidt diff --git a/ChangeLogs/ChangeLog-02a b/ChangeLogs/ChangeLog-02a index 0347cd25bd7..418e1137405 100644 --- a/ChangeLogs/ChangeLog-02a +++ b/ChangeLogs/ChangeLog-02a @@ -1,12 +1,17 @@ +Mon Feb 5 16:19:20 2001 Douglas C. Schmidt + + * ace/Basic_Types.h: Changed the ACE_BIG_ENDIAN and ACE_LITTLE_ENDIAN + macros to use the form 0x0123 rather than 0123X. Thanks to + Craig Rodrigues for helping find this + problem. Mon Feb 5 18:20:11 2001 Krishnakumar B * ace/config-sunos5.5.h (ACE_USES_OLD_IOSTREAMS): - Reverted the change to config-sunos5.5.h and turned on - ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION, - ACE_TEMPLLATES_REQUIRE_SOURCE and ACE_USES_OLD_IOSTREAMS for the - SunCC 5.0 compiler. - + Reverted the change to config-sunos5.5.h and turned on + ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION, + ACE_TEMPLLATES_REQUIRE_SOURCE and ACE_USES_OLD_IOSTREAMS for the + SunCC 5.0 compiler. Mon Feb 5 16:19:20 2001 Douglas C. Schmidt diff --git a/ChangeLogs/ChangeLog-03a b/ChangeLogs/ChangeLog-03a index 0347cd25bd7..418e1137405 100644 --- a/ChangeLogs/ChangeLog-03a +++ b/ChangeLogs/ChangeLog-03a @@ -1,12 +1,17 @@ +Mon Feb 5 16:19:20 2001 Douglas C. Schmidt + + * ace/Basic_Types.h: Changed the ACE_BIG_ENDIAN and ACE_LITTLE_ENDIAN + macros to use the form 0x0123 rather than 0123X. Thanks to + Craig Rodrigues for helping find this + problem. Mon Feb 5 18:20:11 2001 Krishnakumar B * ace/config-sunos5.5.h (ACE_USES_OLD_IOSTREAMS): - Reverted the change to config-sunos5.5.h and turned on - ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION, - ACE_TEMPLLATES_REQUIRE_SOURCE and ACE_USES_OLD_IOSTREAMS for the - SunCC 5.0 compiler. - + Reverted the change to config-sunos5.5.h and turned on + ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION, + ACE_TEMPLLATES_REQUIRE_SOURCE and ACE_USES_OLD_IOSTREAMS for the + SunCC 5.0 compiler. Mon Feb 5 16:19:20 2001 Douglas C. Schmidt diff --git a/ace/Basic_Types.h b/ace/Basic_Types.h index b9ea4fe626b..83d757d3617 100644 --- a/ace/Basic_Types.h +++ b/ace/Basic_Types.h @@ -520,20 +520,20 @@ typedef ACE_UINT16 ACE_USHORT16; // Byte-order (endian-ness) determination. # if defined (BYTE_ORDER) # if (BYTE_ORDER == LITTLE_ENDIAN) -# define ACE_LITTLE_ENDIAN 0123X +# define ACE_LITTLE_ENDIAN 0x0123 # define ACE_BYTE_ORDER ACE_LITTLE_ENDIAN # elif (BYTE_ORDER == BIG_ENDIAN) -# define ACE_BIG_ENDIAN 3210X +# define ACE_BIG_ENDIAN 0x3210 # define ACE_BYTE_ORDER ACE_BIG_ENDIAN # else # error: unknown BYTE_ORDER! # endif /* BYTE_ORDER */ # elif defined (__BYTE_ORDER) # if (__BYTE_ORDER == __LITTLE_ENDIAN) -# define ACE_LITTLE_ENDIAN 0123X +# define ACE_LITTLE_ENDIAN 0x0123 # define ACE_BYTE_ORDER ACE_LITTLE_ENDIAN # elif (__BYTE_ORDER == __BIG_ENDIAN) -# define ACE_BIG_ENDIAN 3210X +# define ACE_BIG_ENDIAN 0x3210 # define ACE_BYTE_ORDER ACE_BIG_ENDIAN # else # error: unknown __BYTE_ORDER! @@ -543,11 +543,11 @@ typedef ACE_UINT16 ACE_USHORT16; # if defined (i386) || defined (__i386__) || defined (_M_IX86) || \ defined (vax) || defined (__alpha) // We know these are little endian. -# define ACE_LITTLE_ENDIAN 0123X +# define ACE_LITTLE_ENDIAN 0x0123 # define ACE_BYTE_ORDER ACE_LITTLE_ENDIAN # else // Otherwise, we assume big endian. -# define ACE_BIG_ENDIAN 3210X +# define ACE_BIG_ENDIAN 0x3210 # define ACE_BYTE_ORDER ACE_BIG_ENDIAN # endif # endif /* ! BYTE_ORDER && ! __BYTE_ORDER */ -- cgit v1.2.1