aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDanny Smith <dannysmith@users.sourceforge.net>2005-07-18 08:52:29 +0000
committerDanny Smith <dannysmith@users.sourceforge.net>2005-07-18 08:52:29 +0000
commit90e7ba4fd54eb3f85b4272dda52586ed51f74c58 (patch)
tree38ec742ee52e5051570a2256e3f57853b3e82000
parent9d219da08a91a8fe0ac64a636f7d08ad262aea18 (diff)
downloadnewlib-90e7ba4fd54eb3f85b4272dda52586ed51f74c58.zip
newlib-90e7ba4fd54eb3f85b4272dda52586ed51f74c58.tar.gz
newlib-90e7ba4fd54eb3f85b4272dda52586ed51f74c58.tar.bz2
2005-07-18 Daniel Atallah <datallah@users.sourceforge.net>
* include/winnt.h (VER_SET_CONDITION): Define.
-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 9c08bd8..7a74eb3 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 27c216f..19ab746 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);