summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOssama Othman <ossama-othman@users.noreply.github.com>2007-03-03 17:44:42 +0000
committerOssama Othman <ossama-othman@users.noreply.github.com>2007-03-03 17:44:42 +0000
commit5dec83425dfe366426c856575b25c3d7d903af8f (patch)
tree1f855a78b56ec4ec8f2b1c70ab5b3287b6b185e0
parentf15f67d81198ee0bfc7d8c7992ede5d21f1c213d (diff)
downloadATCD-5dec83425dfe366426c856575b25c3d7d903af8f.tar.gz
ChangeLogTag:Sat Mar 3 17:35:52 UTC 2007 Ossama Othman <ossama_othman at symantec dot com>
-rw-r--r--ACE/ace/Basic_Types.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/ACE/ace/Basic_Types.h b/ACE/ace/Basic_Types.h
index aabe1d9ba45..67b0deb2448 100644
--- a/ACE/ace/Basic_Types.h
+++ b/ACE/ace/Basic_Types.h
@@ -866,7 +866,9 @@ ACE_END_VERSIONED_NAMESPACE_DECL
#if defined (ACE_LACKS_LONGLONG_T) || defined (ACE_LACKS_UNSIGNEDLONGLONG_T)
# if defined (ACE_LACKS_UNSIGNEDLONGLONG_T)
// ACE_U_LongLong's constructor accepts a "long long" in this
-// case. (set it to ACE_U_LongLong (-1);
+// case. Set it to ACE_U_LongLong (-1) since the bit pattern for long
+// long (-1) should is the same as the maximum unsigned long long
+// value.
# define ACE_UINT64_MAX ACE_U_LongLong (ACE_INT64_MIN)
# else
// ACE_U_LongLong's constructor accepts an ACE_UINT32 low and high