[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v3] dfa/grep: fix compilation with MBS_SUPPORT

From: Eric Blake
Subject: Re: [PATCH v3] dfa/grep: fix compilation with MBS_SUPPORT
Date: Thu, 25 Mar 2010 14:50:04 -0600
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv: Gecko/20100301 Fedora/3.0.3-1.fc12 Lightning/1.0b1 Thunderbird/3.0.3

On 03/25/2010 02:34 PM, Jim Meyering wrote:
>> This looks kind of awkward.  Could we instead do:
>> #ifdef MBS_SUPPORT
>> typedef grep_wint wint_t;
>> #else
>> typedef grep_wint unsigned int;
>> #endif
>> static void
>> setbit_case_fold (grep_wint b, charclass c)
>> {
> Yes, please ;-)

Of course, with the correct ordering (I guess I was typing too fast):

typedef wint_t grep_wint;
typedef unsigned int grep_wint;

Eric Blake   address@hidden    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]