Re: [libobjc, committed] Wrap CLASS_TABLE_HASH in do {} while (0)

2017-11-23 Thread Andrew Pinski
On Thu, Nov 23, 2017 at 11:54 AM, Tom de Vries wrote: > Hi, > > this patch wraps CLASS_TABLE_HASH in "do {} while (0)". This allows the > macro to be used in if-then-elses without curly braces. > > Build libobcj for x86_64. > > Committed as obvious. Yes this is ok.

[libobjc, committed] Wrap CLASS_TABLE_HASH in do {} while (0)

2017-11-23 Thread Tom de Vries
Hi, this patch wraps CLASS_TABLE_HASH in "do {} while (0)". This allows the macro to be used in if-then-elses without curly braces. Build libobcj for x86_64. Committed as obvious. Thanks, - Tom [libobjc] Wrap CLASS_TABLE_HASH in do {} while (0) 2017-11-23 Tom de Vries