On Thu, Feb 18, 2010 at 8:29 PM, Andrew Nguyen <arethus...@gmail.com> wrote:
> On Thu, Feb 18, 2010 at 8:51 PM, Erich Hoover <ehoo...@mines.edu> wrote:
>> ...
>>    The attached patch adds a test for
>> SetThreadAffinityMask(thread,-1), which succeeds on Windows Vista and
>> newer.
>> ...
>
> The test shouldn't query the Windows version explicitly. Instead, the
> older return value on pre-Vista version should be denoted by the
> broken() macro.

Then the test could only be triggered in Wine.  What if this "feature"
gets removed again in some later version of Windows?

Erich Hoover
ehoo...@mines.edu


Reply via email to