summaryrefslogtreecommitdiff
path: root/ACE/ace/Time_Value.h
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/ace/Time_Value.h')
-rw-r--r--ACE/ace/Time_Value.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/ACE/ace/Time_Value.h b/ACE/ace/Time_Value.h
index 9adfe5c3ffd..1c1af92b4ff 100644
--- a/ACE/ace/Time_Value.h
+++ b/ACE/ace/Time_Value.h
@@ -322,7 +322,7 @@ private:
void normalize (void);
/// Store the values as a timeval.
-#if defined (ACE_WIN32)
+#if defined (ACE_HAS_TIME_T_LONG_MISMATCH)
// Windows' timeval is non-conformant, so swap in a struct that conforms
// to the proper data types to represent the entire time range that this
// class's API can accept.
@@ -338,7 +338,7 @@ private:
timeval ext_tv_;
#else
timeval tv_;
-#endif /* ACE_WIN32 */
+#endif /* ACE_HAS_TIME_T_LONG_MISMATCH */
};
ACE_END_VERSIONED_NAMESPACE_DECL