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 + + * include/winnt.h (VER_SET_CONDITION): Define. + 2005-07-18 Michael Gerdau * 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);