Wireshark-dev: Re: [Wireshark-dev] [Wireshark-commits] rev 38265: /trunk/gtk/ /trunk/gtk/: CMak
From: Guy Harris <guy@xxxxxxxxxxxx>
Date: Sat, 30 Jul 2011 11:13:10 -0700
On Jul 30, 2011, at 2:10 AM, Stig Bjørlykke wrote:

> On Sat, Jul 30, 2011 at 10:48 AM,  <jmayer@xxxxxxxxxxxxx> wrote:
>> Log:
>>  Macros aren't functions: Back out rev 38264 and wait for someone who knows what he is doing to fix this
> 
> What about something like this?
> 
> #if !GTK_CHECK_VERSION (2, 22, 0)
>        /* Work around GTK bug: Sealed in 2.14, accessor provided in 2.22 */
> inline void ws_gtk_table_get_size (GtkTable *table, guint *rows, guint *columns)

Does that work with compilers that don't support "inline"?  I'm not sure all the compilers used to build Wireshark do (e.g., do various commercial compilers for UN*Xes do so?).