summaryrefslogtreecommitdiff
path: root/ACE/ace/config-win32-msvc-9.h
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2009-05-26 06:56:46 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2009-05-26 06:56:46 +0000
commit0d6b8f36d896fbbb09df3f5e97a92ecae2c2842e (patch)
tree696e4f7a672b647fca67966e9c91d022c52e7776 /ACE/ace/config-win32-msvc-9.h
parent099f06137434e9ac32a8610d8bb8a14697569243 (diff)
downloadATCD-0d6b8f36d896fbbb09df3f5e97a92ecae2c2842e.tar.gz
Tue May 26 06:56:05 2009 Johnny Willemsen <jwillemsen@remedy.nl>
* ace/Configuration.{h,cpp} Removed my WinCE code again, it seems to break another part of the test * ace/os_include/netinet/os_in.h: Layout change * ace/config-win32-msvc-10.h: * ace/config-win32-msvc-9.h: If we compile for Vista or higher then enable the native windows condition variables
Diffstat (limited to 'ACE/ace/config-win32-msvc-9.h')
-rw-r--r--ACE/ace/config-win32-msvc-9.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/ACE/ace/config-win32-msvc-9.h b/ACE/ace/config-win32-msvc-9.h
index 65b817482d6..2faa35edde7 100644
--- a/ACE/ace/config-win32-msvc-9.h
+++ b/ACE/ace/config-win32-msvc-9.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_9_H */