|
From: | Paolo Bonzini |
Subject: | Re: [PATCH 4/5] Handle Windows CE and rewrite NT version handling. |
Date: | Fri, 02 Oct 2009 02:39:19 +0200 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.1) Gecko/20090814 Fedora/3.0-2.6.b3.fc11 Lightning/1.0pre Thunderbird/3.0b3 |
On 10/02/2009 02:38 AM, Bruno Haible wrote:
If you want to make a switch statement for pairs, use a macro #define PAIR(major,minor) (((major)<<8)|(minor)) and use PAIR(5,2) etc. Then it's clear what you mean.
I'll rewrite this part to use a table. Paolo
[Prev in Thread] | Current Thread | [Next in Thread] |