summaryrefslogtreecommitdiff
path: root/ace/Stats.cpp
diff options
context:
space:
mode:
authornanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-05-22 04:21:23 +0000
committernanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-05-22 04:21:23 +0000
commit707ff424736941627d9602df846dc80f992a0890 (patch)
treebd43e125a1d25d207864aecff53768dd6d6a4f5e /ace/Stats.cpp
parent06b0d53e850e464cae447f07321bb5419ac73c68 (diff)
downloadATCD-707ff424736941627d9602df846dc80f992a0890.tar.gz
*** empty log message ***
Diffstat (limited to 'ace/Stats.cpp')
-rw-r--r--ace/Stats.cpp9
1 files changed, 8 insertions, 1 deletions
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