From cc21ec8124253913242f0c748126582f7eba5999 Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Sun, 22 Jul 2001 10:25:50 +0000 Subject: Do __attribute__ stuff if the GCC version number is greater than or equal to 2, not just if it's equal to 2 - GCC 3.0 makes it 3, not 2.... svn path=/trunk/; revision=3765 --- epan/column-utils.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'epan/column-utils.h') diff --git a/epan/column-utils.h b/epan/column-utils.h index 025ecc0b33..0a5f8c1286 100644 --- a/epan/column-utils.h +++ b/epan/column-utils.h @@ -1,7 +1,7 @@ /* column-utils.h * Definitions for column utility structures and routines * - * $Id: column-utils.h,v 1.1 2001/04/01 07:32:35 hagbard Exp $ + * $Id: column-utils.h,v 1.2 2001/07/22 10:25:49 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs @@ -45,7 +45,7 @@ void col_set_writable(frame_data *fd, gboolean writable); gint check_col(frame_data *, gint); void col_clear(frame_data *, gint); void col_set_str(frame_data *, gint, gchar *); -#if __GNUC__ == 2 +#if __GNUC__ >= 2 void col_add_fstr(frame_data *, gint, gchar *, ...) __attribute__((format (printf, 3, 4))); void col_append_fstr(frame_data *, gint, gchar *, ...) -- cgit v1.2.3