Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDanny Smith <dannysmith@users.sourceforge.net>2005-07-18 12:52:29 +0400
committerDanny Smith <dannysmith@users.sourceforge.net>2005-07-18 12:52:29 +0400
commit90e7ba4fd54eb3f85b4272dda52586ed51f74c58 (patch)
tree38ec742ee52e5051570a2256e3f57853b3e82000 /winsup/w32api
parent9d219da08a91a8fe0ac64a636f7d08ad262aea18 (diff)
2005-07-18 Daniel Atallah <datallah@users.sourceforge.net>
* include/winnt.h (VER_SET_CONDITION): Define.
Diffstat (limited to 'winsup/w32api')
-rw-r--r--winsup/w32api/ChangeLog4
-rw-r--r--winsup/w32api/include/winnt.h3
2 files changed, 7 insertions, 0 deletions
diff --git a/winsup/w32api/ChangeLog b/winsup/w32api/ChangeLog
index 9c08bd882..7a74eb3cf 100644
--- a/winsup/w32api/ChangeLog
+++ b/winsup/w32api/ChangeLog
@@ -1,3 +1,7 @@
+2005-07-18 Daniel Atallah <datallah@users.sourceforge.net>
+
+ * include/winnt.h (VER_SET_CONDITION): Define.
+
2005-07-18 Michael Gerdau <mgdde@users.sourceforge.net>
* include/wincon.h (AttachConsole): Correct _WIN32_WINNT guard.
diff --git a/winsup/w32api/include/winnt.h b/winsup/w32api/include/winnt.h
index 27c216f13..19ab746db 100644
--- a/winsup/w32api/include/winnt.h
+++ b/winsup/w32api/include/winnt.h
@@ -3349,6 +3349,9 @@ typedef OSVERSIONINFOEXA OSVERSIONINFOEX,*POSVERSIONINFOEX,*LPOSVERSIONINFOEX;
#if (_WIN32_WINNT >= 0x0500)
ULONGLONG WINAPI VerSetConditionMask(ULONGLONG,DWORD,BYTE);
+#define VER_SET_CONDITION(ConditionMask, TypeBitMask, ComparisonType) \
+ ((ConditionMask) = VerSetConditionMask((ConditionMask), \
+ (TypeBitMask), (ComparisonType)))
#endif
PVOID GetCurrentFiber(void);