diff options
author | nanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-05-22 04:21:23 +0000 |
---|---|---|
committer | nanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-05-22 04:21:23 +0000 |
commit | 707ff424736941627d9602df846dc80f992a0890 (patch) | |
tree | bd43e125a1d25d207864aecff53768dd6d6a4f5e | |
parent | 06b0d53e850e464cae447f07321bb5419ac73c68 (diff) | |
download | ATCD-707ff424736941627d9602df846dc80f992a0890.tar.gz |
*** empty log message ***
-rw-r--r-- | ace/OS.i | 2 | ||||
-rw-r--r-- | ace/Stats.cpp | 9 |
2 files changed, 9 insertions, 2 deletions
@@ -8620,7 +8620,7 @@ ACE_OS::strrchr (wchar_t *s, wint_t c) { // ACE_TRACE ("ACE_OS::strrchr"); #if !defined (ACE_HAS_WINCE) - return (const wchar_t *) ::wcsrchr (s, c); + return (wchar_t *) ::wcsrchr (s, c); #else wchar_t *p = s + ::wcslen (s); diff --git a/ace/Stats.cpp b/ace/Stats.cpp index b23c917d81c..1acb1ce6e57 100644 --- a/ace/Stats.cpp +++ b/ace/Stats.cpp @@ -1,5 +1,5 @@ // $Id$ - +#define ACE_BUILD_DLL #include "ace/Stats.h" #if !defined (__ACE_INLINE__) @@ -12,7 +12,14 @@ // on the stack, and construct it in, each function that needs it. // 2) To avoid warnings from some compilers, split the 0x100000000ull // constant into two pieces. + +// @@ David, do we need an ACE_UINT64_LITERAL(X) macro here? + +# if defined (ACE_WIN32) +static const ACE_UINT64 ACE_STATS_INTERNAL_OFFSET = 0x100000000ui64; +# else static const ACE_UINT64 ACE_STATS_INTERNAL_OFFSET = 0x10000ull * 0x10000ull; +# endif #endif /* ! ACE_LACKS_LONGLONG_T */ ACE_UINT32 |