diff options
Diffstat (limited to 'ACE/ace/config-win32-msvc-8.h')
-rw-r--r-- | ACE/ace/config-win32-msvc-8.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/ACE/ace/config-win32-msvc-8.h b/ACE/ace/config-win32-msvc-8.h index 13f6d7d233d..82af96ec73e 100644 --- a/ACE/ace/config-win32-msvc-8.h +++ b/ACE/ace/config-win32-msvc-8.h @@ -32,6 +32,15 @@ #define ACE_USES_STD_NAMESPACE_FOR_STDCPP_LIB 1 #endif +// Windows' timeval is non-conformant (defined in terms of long instead of +// time_t) and VC8 (on desktop, not CE) changed time_t to a 64-bit value +// even when compiling a 32-bit application. Therefore, ace/Time_Value +// needs to rearrange a few things for this compiler. See Time_Value.h +// for complete details. +#if !defined (ACE_HAS_WINCE) +# define ACE_HAS_TIME_T_LONG_MISMATCH +#endif + #define ACE_HAS_ITOA #define ACE_HAS_WORKING_EXPLICIT_TEMPLATE_DESTRUCTOR |