diff options
Diffstat (limited to 'ACE/ace/config-win32-msvc-10.h')
-rw-r--r-- | ACE/ace/config-win32-msvc-10.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/ACE/ace/config-win32-msvc-10.h b/ACE/ace/config-win32-msvc-10.h index b91e241530d..f8801a07d4a 100644 --- a/ACE/ace/config-win32-msvc-10.h +++ b/ACE/ace/config-win32-msvc-10.h @@ -138,5 +138,12 @@ // explicitly instantiate a template that has ACE_UNIMPLEMENTED_FUNC. # define ACE_NEEDS_FUNC_DEFINITIONS +// Windows Vista and Windows Server 2008 and newer do have native condition +// variables +#if defined (WIN32_WINNT) && (WIN32_WINNT >= 0x0600) +# define ACE_HAS_WTHREADS_CONDITION_VARIABLE +# undef ACE_LACKS_COND_T +#endif + #include /**/ "ace/post.h" #endif /* ACE_CONFIG_WIN32_MSVC_10_H */ |