summaryrefslogtreecommitdiff
path: root/ACE/ace/Numeric_Limits.h
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/ace/Numeric_Limits.h')
-rw-r--r--ACE/ace/Numeric_Limits.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/ACE/ace/Numeric_Limits.h b/ACE/ace/Numeric_Limits.h
index 4fbac9d2768..d50abb19f98 100644
--- a/ACE/ace/Numeric_Limits.h
+++ b/ACE/ace/Numeric_Limits.h
@@ -225,7 +225,8 @@ struct ACE_Numeric_Limits
static T max (void) { return std::numeric_limits<T>::max (); }
};
-# if defined (ACE_WIN64) && defined (_MSC_VER) && _MSC_VER <= 1310
+# if (defined (ACE_WIN64) && defined (_MSC_VER) && _MSC_VER <= 1310) \
+ || defined (ACE_LACKS_NUMERIC_LIMITS_64_BIT_TYPES)
// The Microsoft Platform SDK does not provide std::numeric_limits<>
// specializations for 64 bit integers so we need to explicitly provide
// ACE_Numeric_Limits<> specializations to compensate for this