On Jul 30, 2011, at 2:10 AM, Stig Bjørlykke wrote: > On Sat, Jul 30, 2011 at 10:48 AM, <jma...@wireshark.org> 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?). ___________________________________________________________________________ Sent via: Wireshark-dev mailing list <wireshark-dev@wireshark.org> Archives: http://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-requ...@wireshark.org?subject=unsubscribe